Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,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 whoever 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 Jun 07, '07 10:06:49AM
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 | # ]