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: Phi Sanders <email@hidden>
- Date: Thu, 22 Feb 2001 17:18:57 -0500
--================
property lastResponse : ""
set promptString to "some question you ask??"
set lastResponse to text returned of (display dialog promptString default
answer lastResponse)
--================
~Phi
--
Phi Sanders
"And now, back to your regularly scheduled reality."
On 2/21/01, email@hidden {email@hidden} said the following :
>
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
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users