Re: Remembered default answer in display dialog command
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