• 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
Repeat-Dialog-Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Repeat-Dialog-Error


  • Subject: Repeat-Dialog-Error
  • From: Brad Giesbrecht <email@hidden>
  • Date: Wed, 28 Feb 2001 18:45:02 -0800

Hello,

<snip>
try
repeat while (not done)
set x to the button returned of --optionreturn
(display dialog "" buttons {"Cancel", "Look", "Continue"} as text
set done to true
if x is "Look" then
process_windows()
set done to false
end if
end repeat
on error
display dialog "Cancel failed."
end try
<snip>

Why when I click the cancel button, do I get the
"Cancel failed" dialog.


Thanks to the many who have responded to my questions.

Sincerely,
Bradley Giesbrecht


  • Follow-Ups:
    • Re: Repeat-Dialog-Error
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: [OFF] Re: Records
  • Next by Date: Re: Text without formatting (OS 9.1)
  • Previous by thread: Re: Scripting Additions
  • Next by thread: Re: Repeat-Dialog-Error
  • Index(es):
    • Date
    • Thread