Skip to content

Instantly share code, notes, and snippets.

@segphault
Created May 22, 2012 21:26
Show Gist options
  • Save segphault/2771716 to your computer and use it in GitHub Desktop.
Save segphault/2771716 to your computer and use it in GitHub Desktop.
Launch a new Chrome Incognito window on the current space
tell application "Google Chrome"
make new window with properties {mode:"incognito"}
tell application "System Events" to set frontmost of process "Google Chrome" to true
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment