Mailing Lists: Apple Mailing Lists

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

Hiding text input



  Hi,

I'm trying to find a way to hide a text input from a user, so that when the user types on the keyboard, if they type "abcd" for example, it's replaced by "••••'. I had a look through the archives, but I didn't find any reference to anything like that, and goggling didn't return much either. Does anyone know if this can be done? Part of the script I'm using would look something like this:

-- 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 ••••••• ? Any help would be greatly appreciated.

  Thank you,

  Paul
_______________________________________________
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


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.