Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >Hiding text input (From: Paul Thompson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.