Re: newbie with timeout problem
Re: newbie with timeout problem
- Subject: Re: newbie with timeout problem
- From: Richard Morton <email@hidden>
- Date: Mon, 17 Jun 2002 10:32:37 +1000
On Friday, June 14, 2002, at 01:47 AM, John Clark wrote:
Can anyone help me with this
the script.....
This may have been replied to already, but anyway...
tell application "Finder"
select file Pathtodata
'select' is not required unless you specifically want it, but that's not
your problem. It just generates an extra AppleEvent & slows things down
a bit. Not a big deal.
...end script....
When run from the OSA menu I get the error "Apple Event timed out etc."
after around five seconds of copying the files...
...I've tried tried -with timeout- everywhere with no luck.
The OSA Menu is great, but it's not perfect. :-) This is pretty
standard behaviour OMM. It seems to ignore timeouts, but I'm not really
sure what the problem is.
You could run this as an applet perhaps? (Save as application; check
"Don't show startup screen"; uncheck "Stay open")
Am I the only one who dosen't know what a vanilla script is ?
Unlikely. Not that I'm an authority, but I would maybe define vanilla
in this context as "using only the standard components installed with
the OS." The alternative to this is a script that makes use of 3rd
party Scripting Additions (or osaxen). There are hundreds of these
available for classic MacOS, a handful for X and I believe that there is
a new architecture now for AS plugins to replace them entirely.
A vanilla script may work on somebody else's machine with a standard
install, whereas a script using osaxen must have those installed on the
machine running it.
Cheers,
Richard Morton
-- I scream, you scream; we all scream for...
_______________________________________________
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.