Last active
October 13, 2020 09:42
-
-
Save Callisto88/5466ee238a80293333be29950f86ed43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run {input, parameters} | |
tell application "Flycut" to activate | |
tell application "System Events" | |
# show the Bezel ( deleting item using shortcut seem to be only available when the Bezel is shown ) | |
# adjust this value according to your FlyCut shortcut in my case it's Cmd + H | |
keystroke "h" using {command down} | |
# simulate Command + backspace combination | |
key code 51 using {command down} | |
# close the Bezel | |
keystroke "esc" | |
end tell | |
return input | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment