Create a simple service in Automator: "Open URL in Google Chrome"
Hi folks
I use Safari as my default browser but some URLs I receive in Mail.app must be opened in Chrome.
I'd like to make a simple service that allows me to right-click on a URL in a message and say "Open URL in Google Chrome". I'd like to do it using a shell script because it would be fractionally faster than using AppleScript.
- I've opened Automator, created a new Service and added one action: "Run Shell Script".
- Options:
- Service receives selected URLs
- Input is Entire selection
- Pass input as arguments
- Script (one simple line): "open "$1" -a /Applications/Google\ Chrome.app"
The Service appears in the System Preferences shortcuts list under 'Internet' but does not show up in the Mail.app Services contextual menu. Can you spot what I might be forgetting or doing wrong?
Thanks so much!
PS Posting to developer forums because I can't find an 'Automator' forum any more