Re: "Open this URL in the default browser"?
Re: "Open this URL in the default browser"?
- Subject: Re: "Open this URL in the default browser"?
- From: Lewis Butler <email@hidden>
- Date: Fri, 8 Aug 2003 12:14:52 -0600
On Wednesday, 06 August 2003, at 23:38, Andy Ihnatko wrote:
Hey, someone save me the trouble of actually looking this up myself:
how do you get AS to open a webpage using the default browser? Up 'til
now I've been writing specific script for specific browsers and only
now has it occurred to me that there must be a simpler way.
do shell script "open
http://www.apple.com"
open location "
http://www.apple.com"
both work. The nice thing about the do shell script is it shows you
that you can open a URL from the command line by simply saying:
% open
http://www.apple.com
this can be useful if your interacting with CLI tools
--
Love seeketh not itself to please
Nor for itself hath any care
But for another gives it's ease
And builds a heaven in Hell's despair
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.