Re: Finding and deleting specific extensions.
Re: Finding and deleting specific extensions.
- Subject: Re: Finding and deleting specific extensions.
- From: Rob Jorgensen <email@hidden>
- Date: Mon, 15 Sep 2003 16:23:09 -0400
At 3:02 PM -0400 9/15/03, Steve Roy wrote:
Christopher Nebel <email@hidden> wrote:
> Is there any way for U.S. scripters to ensure that the Cancel button
> will work in non-U.S. systems? If not, can we get it "bugged"? :)
Not at this time, unless someone has come up with some really clever
hack that I don't know about. Reliable world-wide internationalization
of scripts is a difficult problem which we are gradually working on
solving. I'll write a bug on this particular aspect, since I don't
think anyone has yet. However, whatever the solution is would involve
changing the usage of "display dialog" somewhat, unless we want to be
English-centric and say that the button string "Cancel" is always the
localized "Cancel". (Hm, that might actually work pretty well.)
What I've always envisionned is a set of keywords, just like the icon keywords
'caution', 'stop' and 'note' that 'display dialog' already understands.
Maybe I don't understand this issue well enough to comment (not
uncommon) but I've always wondered why display dialog doesn't return
the button number in addition to the other items in the record. The
button number is used to set the default button so why not elsewhere?
Wouldn't this overcome language issues?
set dd to display dialog "hi"
if button number returned of dd is 1 then
-- do something
end if
-- Rob (willing to ask stupid questions if it leads to a solution) :P
_______________________________________________
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.