Re: bug or feature?
Re: bug or feature?
- Subject: Re: bug or feature?
- From: Steven Angier <email@hidden>
- Date: Wed, 26 Dec 2001 12:30:34 +1100
- Organization: Macscript.com
Paul Berkowitz wrote:
>
Where do you see it says "Cancel" should throw an error number -128, Deivy?
>
That's what display dialog does, not choose from list. (Very inconsistent,
>
yes. I think it's derived from the history that these were once separate
>
scripting additions, 'choose from list' being a 3rd-party, GTQ osax.)
I was not aware of the command's GTQ origins but, in any case, it is clear to me that the
behaviour is a bug as it is inconsistent with its documentation and with the other
AppleScript UI commands.
In my opinion a cancel button should always generate a user cancelled error (number -128).
Steven Angier
Macscript.com