Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'Open any URL from any app with Butler and AppleScript' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Open any URL from any app with Butler and AppleScript
Authored by: jonn8n on Thu, Jun 7 2007 at 10:06AM PDT
Can we please stop using AppleScripts to open web URLs that target specific browsers? Simply use the "open location" command and the URL will be opened in the default browser:
set the_url to "http://www.apple.com"
open location the_url
This command has been available for years and it also works for non-web URLs. For instance:
set the_url to "mailto:steve@apple.com"
open location the_url
or
set the_url to "file:///Applications/"
open location the_url
Jon

[ Reply to This | # ]