Skip to content

Instantly share code, notes, and snippets.

@lhl
Created December 24, 2012 07:48
Show Gist options
  • Save lhl/4368260 to your computer and use it in GitHub Desktop.
Save lhl/4368260 to your computer and use it in GitHub Desktop.
Open a new window and load a page in Google Chrome w/ Applescript
tell application "Google Chrome"
set myWindow to make new window
set myTab to active tab of myWindow
set URL of myTab to "http://randomfoo.net/"
activate end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment