Skip to content

Instantly share code, notes, and snippets.

@nolar
Created April 20, 2015 17:54
Show Gist options
  • Save nolar/249f557d9536a6ee65a2 to your computer and use it in GitHub Desktop.
Save nolar/249f557d9536a6ee65a2 to your computer and use it in GitHub Desktop.
Opens Chrome window on current desktop (useful with hotkeys). If input is turned on, open all selected URLs in the tabs.
on run {input, parameters}
tell application "Google Chrome"
make new window
if input is not {} then
repeat with URL in input
open location URL
end repeat
end if
activate
end tell
return input
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment