Created
April 16, 2015 15:46
-
-
Save kimchaily/5e39f9ef2d5040a60c43 to your computer and use it in GitHub Desktop.
Alfred workflow. Open a new window in Chrome and if URL given, then go to that URL
This file contains 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 alfred_script(q) | |
if not (q starts with "http://") | |
set q to "http://" & q | |
end if | |
tell application "/Applications/Google Chrome.app" | |
make new window | |
set URL of active tab of window 1 to q | |
end tell | |
end alfred_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
And it still works!