Boop icon indicating copy to clipboard operation
Boop copied to clipboard

Feature Request: Global Shortcut Key to open a Boop Window

Open bitwisecook opened this issue 4 years ago • 7 comments

Having a global shortcut key to launch Boop with the paste buffer is incredibly useful. I currently achieve it with Automator but it would be useful to build this into the tool itself. This would require System Preferences > Security & Privacy > Accessibility permissions.

I currently do this with Automator.

  1. Launch Automator
  2. Start a new action
  3. Set the "Workflow receives" to "no input" in "any application"
  4. Find and drag "Launch Application" from the left
  5. Set the Application to "Boop"
  6. Save the action as "Launch Boop"
  7. Open System Preferences > Keyboard > Shortcuts > Services
  8. Find General > Launch Boop in the list and tick it
  9. Double-click it to add a shortcut
  10. Set the shortcut (I used cmd-shift-B)

Optional, before step 6,

  1. Find and drag "Run AppleScript" as a second action
  2. Enter the script:
on run {input, parameters}
	tell application "System Events" to keystroke "a" using command down
	tell application "System Events" to keystroke "v" using command down
	tell application "System Events" to keystroke "a" using command down
	tell application "System Events" to keystroke "b" using command down
	tell application "System Events" to keystroke "*"
	tell application "System Events" to keystroke "a" using command down
end run

image

image

bitwisecook avatar Jul 08 '21 17:07 bitwisecook

Something like this can also be done using Hammerspoon:

local cmd_shift = {"shift", "cmd"}
hs.hotkey.bind(cmd_shift, 'b', function() hs.application.launchOrFocus("Boop") end)

adamlazz avatar Jul 12 '21 00:07 adamlazz

I've also done similar with Alfred https://github.com/pearcenuk/Alfred-public/tree/main/BOOPy

pearcenuk avatar Mar 24 '22 05:03 pearcenuk

If you have text selected, Boop installs a global shortcut, B, that will send that text to Boop and open it if it's not already open.

srudolph-credera avatar May 19 '22 20:05 srudolph-credera

And if you still want a shortcut to open Boop even without selected text, it's fairly easy to do now with the Shortcuts app: image

srudolph-credera avatar May 19 '22 20:05 srudolph-credera