Last active
October 20, 2015 19:22
-
-
Save DavidFrahm/613bd7800cbf7b6052f6 to your computer and use it in GitHub Desktop.
AppleScript for launching Chrome Canary for local development
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
do shell script "/Applications/Google\\ Chrome\\ Canary.app/Contents/MacOS/Google\\ Chrome\\ Canary --user-data-dir=/Users/$USER/Library/Application\\ Support/Google/ChromeCanaryTestUnsecure --new-window --window-position=0,0 --window-size=1440,900 --incognito --disable-web-security -–allow-file-access-from-files > /dev/null 2>&1 &" | |
delay 1 | |
tell application "Google Chrome Canary" | |
activate | |
tell application "System Events" to keystroke "j" using {command down, option down} | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment