Re: Renaming Files
Re: Renaming Files
- Subject: Re: Renaming Files
- From: Deivy Petrescu <email@hidden>
- Date: Sun, 29 Jul 2001 09:22:55 -0400
At 10:08 AM +0200 7/29/01, Emmanuel wrote:
At 2:48 +0200 29/07/01, Christopher Nebel wrote:
>This is a weakness, certainly, but it's not possible to fix it
>without changing the syntax for "display dialog."
Could it be possible to "expand" the syntax, allowing the following:
------------------------------------
display dialog "blah" buttons {cancel string, "Rename"}
------------------------------------
where
------------------------------------
cancel string
------------------------------------
would be a newly defined constant which would return the localized "Cancel"?
Emmanuel
PS
In April 2000, Bill Fancher published a hack to grab the language-specific
"Cancel" string out of the "display dialog" osax. I can send it to whoever
asks.
Just to make sure I got it right.
Although what Emmanuel proposes would be ideal , something like
cancel string, ok string (if the "OK" button is different), I can use
something like:
display dialog "..." & return &"Do you want to rename it?"
and the buttons would be "OK" and "Cancel" in the appropriate system
language. Is this right?
Thanks
Deivy Petrescu
http://www.dicas.com