Last active
January 20, 2017 14:02
-
-
Save ggrrll/d2cdf1140a134a99d77c84ca5610e4f2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 "System Events" | |
key code 8 using command down | |
delay 0.1 | |
key code 53 | |
key code 3 using command down | |
key code 9 using command down | |
end tell | |
return input | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the help of list-of-applescript-key-codes and this post I could make this simple applescript that I feed to automator and combine with a
cmd+shift+f
shortcut - the reason why there isdelay 0.1 / key code 53
is because I wanted to make it work on jupyter