• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Renaming Files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Renaming Files
      • From: Jon Pugh <email@hidden>
References: 
 >Re: Renaming Files (From: Shane Stanley <email@hidden>)
 >Re: Renaming Files (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Renaming Files
  • Next by Date: RE: [Rant] Will mount volume EVER work the way it is supposed (Scott Swartz)
  • Previous by thread: Re: Renaming Files
  • Next by thread: Re: Renaming Files
  • Index(es):
    • Date
    • Thread