Created
April 20, 2015 17:54
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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