Skip to content

Instantly share code, notes, and snippets.

@seiji
Created September 11, 2011 06:53
Show Gist options
  • Save seiji/1209261 to your computer and use it in GitHub Desktop.
Save seiji/1209261 to your computer and use it in GitHub Desktop.
open location with new tab
-- open_url: open with Google Chrome
on run argv
tell application "Google Chrome"
tell window 1
set newTab to make new tab with properties {URL:item 1 of argv}
end tell
end tell
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment