Created
March 29, 2018 22:37
-
-
Save makevoid/dfe7accff096502c01ae350b206eecc4 to your computer and use it in GitHub Desktop.
Fastscript applescripts
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
1 - alt1 | |
2 - alt2 | |
3 - alt3 | |
4 - ± |
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
# focus editor | |
tell application "Atom" | |
activate | |
end tell |
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
# focus browser | |
tell application "Firefox" | |
# tell application "Google Chrome" | |
activate | |
end tell |
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
# focus terminal | |
tell application "Terminal" | |
activate | |
end tell |
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
# focus terminal | |
tell application "Terminal" | |
activate | |
end tell | |
# up arrow - enter (run last command) | |
tell application "System Events" | |
key code 126 | |
key code 36 | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment