Re: Finding and deleting specific extensions.
Re: Finding and deleting specific extensions.
- Subject: Re: Finding and deleting specific extensions.
- From: Walter Ian Kaye <email@hidden>
- Date: Mon, 15 Sep 2003 13:15:50 -0700
At 11:32a -0700 09/15/2003, Christopher Nebel didst inscribe upon an
electronic papyrus:
On Sep 15, 2003, at 11:05 AM, Christopher Nebel wrote:
[1] Actually, the magic name depends on the name of the "Cancel"
button in your primary language. For a French user, for example,
this would be "Annuler".
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"? :)
-- it's in 10.2. If you use the string "Cancel" (any
capitalization), it will be interpreted as a cancel button no matter
what your primary language is. The primary language version (e.g.,
"Annuler") will also work, but only if that language is primary.
The remaining bug, if you want to consider it that, is that the
button title shows up exactly as it's typed in the script. For
example, 'display dialog "Frotz the potrzebie?" buttons {"Cancel",
"Frotz"}' will always show buttons with the titles "Cancel" and
"Frotz", not "Annuler" and "Frotz", or whatever. This is arguably
correct -- that is the string the script specified -- but it seems
sub-optimal, so I've filed a bug.
Except that the script may be expecting the button returned... oh
wait, that would be error number -128 so it doesn't matter anyway.
...except from a documentation perspective. I assume folks with
non-U.S. systems would be familiar with the word "Cancel" due to its
ubiquitousness, so if they're able to use a script with English
prompts, they'll understand the Cancel button whether it reads as
"Cancel" or "Annuler".
Hmm. I've never received any requests for a localized version of any
of my scripts. Dunno if that's due to apathy, unawareness of
possibility, awareness of non-possibility, or what. It would
certainly be "fun" to create a localized version of a script,
although I don't know how to go about it.
At 03:02p -0400 09/15/2003, Steve Roy didst inscribe upon an
electronic papyrus:
What I've always envisionned is a set of keywords, just like the icon keywords
'caution', 'stop' and 'note' that 'display dialog' already understands.
display dialog "Hello!" buttons {cancel, ok}
Ah, constants would be good. I like that. :)
At 11:55a -0700 09/15/2003, Michelle Steiner didst inscribe upon an
electronic papyrus:
We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
Yay Dyer! :D
-boo
_______________________________________________
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.