Re: Why o why won't my script/app open? - solved (it's sneaky)
Re: Why o why won't my script/app open? - solved (it's sneaky)
- Subject: Re: Why o why won't my script/app open? - solved (it's sneaky)
- From: Charles Arthur <email@hidden>
- Date: Fri, 2 Nov 2001 17:58:52 +0000
At 9:39 am -0800 on 2/11/2001, Paul wrote:
>
On 11/2/01 4:26 AM, "Charles Arthur" <email@hidden> wrote:
>
>
> I've reported this to Apple as:
>
> "script editors do not resolve .."
>
>
>
It's not the script editor.
D'oh! Might have known I'd get this wrong.
>
It's
>
AppleScript (or something deeper) itself which puts up the "Where is URL
>
Access Scripting.app?" message. ..
>
What might work would be to script:
>
tell application "Finder"
>
set urlAppPath to (application file id "uasc" as alias) as string
>
end tell
...
>
In
>
fact, if you know that he script will never be used on a computer running a
>
system earlier than OS 9, you don't even need raw codes:
>
tell application "Finder"
>
set urlAppPath to (application file id "uasc" as alias) as string
>
end tell
>
using terms from application "URL Access Scripting"
>
tell application urlAppPath
>
download -- some URL
>
end tell
>
end using terms from
>
>
Anyway, it's not a bug. Just something you have to work around if trying to
>
write scripts cross-system.
Well it sure *feels* like a bug! As in, something which isn't obvious on
its face and which produces behaviour that's really hard to pick apart.
(Complicated in my case by the presence of the network that began being
searched endlessly for "URL Access Scripting.app".)
But thanks for all that, Paul.
Charles
----------------------------
http://www.ukclimbing.com : 1000+ British crags, 350+ British climbing
walls - searchable by distance and anything else you care to think of -
with weather forecasts for every one, plus maps, articles, news and
features. Plus Britain's busiest climbing discussion boards. And there's
even a cool shop attached.
_____________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp