How can I launch URLs from the OS X dock (with proper icons)?
February 1, 2009 2:34 PM
Subscribe
How can I create an app/shortcut that lives in the OS X dock that has an icon of my choosing and launches in the browser of my choice? Difficulty: no @ icons, no SSB.
It seemed like a simple task when I decided I wanted to launch Google Docs from my OS X dock. However, after much searching and testing, I have found the following options, none of which work for me:
1) Drag the URL/favicon onto the dock. This works great to launch the web page I want from the dock in my default browser (what I wanted). However, it also has that lame @ icon (which I can't seem to change to anything but a file type preview icon) AND it is forced to live outside of the app section.
2) Use a tool like Fluid (fluidapp.com) to create an application to launch the URL. This works great by using the icon of my choice and being able to be placed in the app section (solves above problems). But it also forces these links to open in an SSB (site specific browser) that loses all of my cookies, etc. I'd rather it just open in Firefox.
So, does anyone know of a way that I can combine these and have a URL launch from the dock:
- with the icon of my choice
- in Firefox
- from the app section of the dock (optional)
???
Thanks,
Seth
posted by SethLeonard to computers & internet (7 comments total)
2 users marked this as a favorite
Type the following into it
tell application "Firefox"Get URL "http://google.com" -- or whatever
end tell
quit
Save it as an application wherever. Give it whatever icon you like. Drag it to the dock. Done.
posted by adamrice at 2:48 PM on February 1