Re: Hiding text input
Re: Hiding text input
- Subject: Re: Hiding text input
- From: Bill White <email@hidden>
- Date: Mon, 24 Jul 2006 20:58:57 -0400
- Thread-topic: Hiding text input
On 7/24/06 8:47 PM, Paul Thompson <email@hidden> wrote:
> -- set username and userpass to variables
> set username to text returned of (display dialog "Enter your User
> Name:" default answer "your username")
> set userpass to text returned of (display dialog "Enter your
> password:" default answer "your password")
>
> How would I keep what's typed, but only display ?
You need to use "hidden answer" (although I think this only works in more
recent versions of AppleScript?). Try this:
set username to text returned of (display dialog "Enter your User
Name:" default answer "your username")
set userpass to text returned of (display dialog "Enter your
password:" default answer "your password" with hidden answer)
HTH,
Bill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden