Re: Display dialog does nt work in OS X
Re: Display dialog does nt work in OS X
- Subject: Re: Display dialog does nt work in OS X
- From: Christopher Nebel <email@hidden>
- Date: Sat, 6 Apr 2002 16:13:03 -0800
On Saturday, April 6, 2002, at 04:44 AM, Gerd wrote:
i recently changed from OS 9.1 to OS X 10.1.3 .
Now in all my scripts the display dialog commands does not work.
The dialogs are shown correctly but all the scripts take as an answer
the 'cancel' command, also if i am clicking the 'ok' or any other
button.
I'm not sure I understand the question, but let me take a guess. You're
trying something like this...
display dialog "Frotz the potrzebie?" buttons {"Cancel", "Yes", "No"}
...and if you press the "Cancel" button, it returns {button pressed:
"Cancel"} instead of throwing an error like it's supposed to? If so,
that's a known bug, and it's fixed in 1.8.2b3, which is available from
the Apple Developer site.
The workarounds are either to switch your primary language to English,
or change the script so that you have the primary language's version of
"Cancel" as the button label -- in your case, that would probably be
"Abbruch".
--Chris Nebel
AppleScript Engineering
_______________________________________________
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.