Skip to content

Instantly share code, notes, and snippets.

@abronte
Created June 19, 2012 22:51
Show Gist options
  • Select an option

  • Save abronte/2956991 to your computer and use it in GitHub Desktop.

Select an option

Save abronte/2956991 to your computer and use it in GitHub Desktop.
tell application "Google Chrome"
activate
set theUrl to "http://calendar.google.com"
if (count every window) = 0 then
make new window
end if
tell window 1 to make new tab with properties {URL:theUrl}
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment