• 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: apple event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: apple event


  • Subject: Re: apple event
  • From: Emmanuel <email@hidden>
  • Date: Tue, 16 Jul 2002 22:13:44 +0200

At 4:02 PM +0200 12/7/02, Jean-Michel wrote:

>I have an operation in my script (tell app.... ) which is to long for an
>apple event . Is there a solution to avoid this problem ?

You mean you get an "AppleEvent timed out" error, I suppose.

The default timeout is one minute (I think). What you must do is
encapsulate your script within a "with timeout" clause:

--------- untested
with timeout of 86400 seconds -- that's one day, for example
-- your long running script here
end timeout
-----------------

Emmanuel
_______________________________________________
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.

References: 
 >apple event (From: Jean-Michel <email@hidden>)

  • Prev by Date: Re: scripting on macs in general
  • Next by Date: Re: referencing the last item in a list
  • Previous by thread: apple event
  • Next by thread: Using the 'say' command in OS X scripting
  • Index(es):
    • Date
    • Thread