• 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: Help! Photoshop Applescript times out
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help! Photoshop Applescript times out


  • Subject: Re: Help! Photoshop Applescript times out
  • From: Kai <email@hidden>
  • Date: Tue, 14 Jan 2003 00:43:06 +0000

on Mon, 13 Jan 2003 14:41:59 -0600, Kenton Muschenheim
<email@hidden> wrote:

> What is the best way to avoid the "Apple Event Timed Out" error during a
> Photoshop Applescript? The script times out while opening a big 200 mb file
> before getting to the resizing etc

Normally, if a command to an application takes longer than a minute to
complete, AppleScript stops running the script and returns a "timed out"
error. However, you can use 'with timeout' statements to change how long
AppleScript waits before stopping execution of a script.

To avoid most timeouts, it makes sense to allow a long period:

with timeout of 1000000 seconds
-- perform lengthy operations
end timeout

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

  • Prev by Date: Gecko (Moz/NS) Script Issues
  • Next by Date: Re: Change properties in one applet from another
  • Previous by thread: Re: Help! Photoshop AppleScript times out
  • Next by thread: Re: Help! Photoshop Applescript times out
  • Index(es):
    • Date
    • Thread