Forked from zdne/Google Chrome Incognito.applescript
Last active
August 29, 2015 14:20
-
-
Save ruthenium/ac61eb952e1b1a5d7aa5 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
if application "Google Chrome" is running then | |
tell application "Google Chrome" to make new window with properties {mode:"incognito"} | |
else | |
do shell script "open -a /Applications/Google\\ Chrome.app --args --incognito" | |
end if | |
tell application "Google Chrome" to activate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment