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

Re: Remembered default answer in display dialog command


  • Subject: Re: Remembered default answer in display dialog command
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 23 Feb 2001 09:31:14 +1100

On 22/2/01 7:23 AM +1000, email@hidden, email@hidden, wrote:

> 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"

At the start of your script, put:

property DefaultClientNumber: ""

--
Shane Stanley, email@hidden


References: 
 >Remembered default answer in display dialog command (From: email@hidden)

  • Prev by Date: Re: Remembered default answer in display dialog command
  • Next by Date: Computer Double Start
  • Previous by thread: Re: Remembered default answer in display dialog command
  • Next by thread: Re: Remembered default answer in display dialog command
  • Index(es):
    • Date
    • Thread