Created
June 28, 2017 17:49
-
-
Save saltcod/866c69f0ee5202fb235f25d0d011ff05 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
Sick of resizing and moving applications like Sublime Text? Me too! | |
Details run-through: https://apple.stackexchange.com/questions/175215/how-do-i-assign-a-keyboard-shortcut-to-an-applescript-i-wrote | |
And tl;dr-> | |
1. You need to create an Automator script: https://dl.dropboxusercontent.com/s/l9pidneeeyzyvzb/2017-06-28%20at%203.15%20PM.png | |
2. The script you need is: | |
tell application "System Events" to tell application process "Sublime Text" | |
tell window 1 | |
set {size, position} to {{1020, 1300}, {0, 0}} | |
end tell | |
end tell | |
3. Next, go to System Preferences > Keyboard > Shortcuts, and select Services and set a shortcut on the right https://dl.dropboxusercontent.com/s/z9xh2fdr19srf8b/2017-06-28%20at%203.18%20PM.png | |
4 Next go to Sys Prefs > Security and Privacy > Accessibility and make sure Finder, Sublime Text, Automator, and Script Editor all have access https://dl.dropboxusercontent.com/s/5uejco9rhj77zuj/2017-06-28%20at%203.19%20PM.png | |
5. SUCCESS! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment