Re: AppleEvent timeout error
Re: AppleEvent timeout error
- Subject: Re: AppleEvent timeout error
- From: Luther Fuller <email@hidden>
- Date: Mon, 13 Jun 2011 07:15:52 -0500
On Jun 13, 2011, at 6:52 AM, Jim Brandt wrote:
> Thanks for the suggestion. Yes, using "run (load script ScriptAlias)" fixed the problem.
> A question though. If this line of code is in a loop, is the load script action done every time?
Yes. You need to do something like this:
set myAction to load script ScriptAlias
before you start the loop. The loop looks like this ...
repeat with ...
...
tell myAction to run
...
end repeat
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden