• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleEvent timeout error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: AppleEvent timeout error (From: Jim Brandt <email@hidden>)

  • Prev by Date: Re: AppleEvent timeout error
  • Next by Date: perform command
  • Previous by thread: Re: AppleEvent timeout error
  • Next by thread: perform command
  • Index(es):
    • Date
    • Thread