• 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
Remembered default answer in display dialog command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Remembered default answer in display dialog command


  • Subject: Remembered default answer in display dialog command
  • From: email@hidden
  • Date: Wed, 21 Feb 2001 14:23:12 -0600

I'm looking for a way that an AppleScript can remember the previous
"default answer" in a dialog box.

In a droplet that I have written, I have a dialog box that requires the
user to enter a number:
set DefaultClientNumber to "1234"
set ClientNumber to text returned of (display dialog "Please enter the
client job number:" default answer DefaultClientNumber)

I would like the droplet to remember what the user entered the next time
the droplet ran. For example, if the user entered "5678" the first time
the droplet ran, then next time the dropet ran, the value of "
DefaultClientNumber" would already be set to "5678"

I know that there is a way to do this, I just forgot how, and I've been
looking throught the old messages for too long.

Any help is appreciated,
Thanks,
Bill Lawrence


  • Follow-Ups:
    • Re: Remembered default answer in display dialog command
      • From: Shane Stanley <email@hidden>
    • Re: Remembered default answer in display dialog command
      • From: Phi Sanders <email@hidden>
  • Prev by Date: Re: Facespan 3.5.1: Is it good, or bad, for you?
  • Next by Date: Re: Has the 5th business day of the month passed???
  • Previous by thread: Quark curiosity: end of story VS set after story
  • Next by thread: Re: Remembered default answer in display dialog command
  • Index(es):
    • Date
    • Thread