Simulating password entry
Devin Asay
devin_asay at byu.edu
Thu Aug 19 10:27:16 EDT 2004
Yes, I know about ask password, but I want a login dialog with more
than one field: user name and password. User name should be in clear
text, but the password obscured. I would love it if ask password gave
you a multi-field option, but since it doesn't, I have to roll my own.
Actually, with some help from Chipp, Yves, Richard and others, I have a
solution that works pretty well. I'll post it when I've thoroughly
tested it.
Devin
On Aug 18, 2004, at 10:56 PM, J. Landman Gay wrote:
> On 8/18/04 2:25 PM, Devin Asay wrote:
>
>> All,
>> I'm writing an app that simulates a network server login on Mac OS X.
>> I want the password field to behave just like normal password fields
>> in OS X; i.e., bullet characters appear in place of clear text. I've
>> sorta kinda got it working by trapping the keydown message in the
>> password field, but it's quirky. Before I spend a lot of time on
>> this, I thought I'd ask: Has anyone done this and would mind sharing
>> a script?
>
> It's built in. If you want an encrypted password back:
>
> ask password "Enter your password"
>
> If you want clear text back:
>
> ask password clear "Enter your password"
>
> Both return the user entry in the variable "it".
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
More information about the use-livecode
mailing list