• 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
timeout options
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

timeout options


  • Subject: timeout options
  • From: Brad Giesbrecht <email@hidden>
  • Date: Sun, 25 Feb 2001 11:35:53 -0800

> If, instead of asking the user to close windows, you could have your script
> do it, the problem would be made much easier.

Thanks Emmanuel,

Good idea.

I was thinking of using a counter to open no more then
fifty images at a time.

I would put up a dialog to cancel, continue without closing
windows, or continue with closing windows.

This also gives the user the chance to bail out if the images
they need are already open.

If I did this:

if i < 51 then
process_item()
else
with timeout of 300 seconds
display dialog "message" buttons {Cancel, Close Windows, Continue}
end timeout
end if

How can I keep the dialog up for a longer time without
the script timing out. I could just use a larger timeout
number, but I think I would like it to be indefinite.

Is there a timeout never, infinite or something like it?


Cheers,
Bradley Giesbrecht


References: 
 >Re: memory error (From: Emmanuel <email@hidden>)

  • Prev by Date: Positioning popup windows- a workaround solution.
  • Next by Date: What is -1
  • Previous by thread: Re: memory error
  • Next by thread: Scriptable PDF Plugins?
  • Index(es):
    • Date
    • Thread