Re: checking for script compatibility: open location target_URL
Re: checking for script compatibility: open location target_URL
- Subject: Re: checking for script compatibility: open location target_URL
- From: "Gary (Lists)" <email@hidden>
- Date: Wed, 28 Sep 2005 15:15:16 -0400
"email@hidden" wrote:
> I have a question that I hope you may be able to answer or point in the right
> direction.
> ---------------------------------
> property target_URL : "http://www.yahoo.com"
> open location target_URL
> ---------------------------------
> I have these two lines of applescript saved as an applescript application that
> launches a default browser and tells it to go to a specified URL. Everything
> works fine (tested on OSX (10.3.9) and OS9.1), but I'm wondering if this would
> also work with older systems that are "internet configured" (meaning that the
> system has a default browser defined and is online or goes with dialup.
> Specifically I'm wondering about pre-OS9 systems like 8.6, 8.1, 8.0, etc. I
> have a number of these scripts and I would be editing the URLs with Script
> Editor on OSX (10.3.9).
If that's all you're doing, why not just use Internet Location files? They
are useful back to I don't know what OS, but in the 8's [and there is a
handy little free utility to make them work in OSs which didn't natively
support them, down to 7 I believe.]
No need to spend precious life on a problem that's been solved ages ago:
portable, double-clickable, URLs.
But, to answer specifically, the only command you are using is 'open
location'. Any AS install that has that command will execute that command.
--
Gary
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden