custom password dialogue
Lynch, Jonathan
bnz2 at cdc.gov
Tue Dec 6 13:21:01 EST 2005
Don't know if you saw my other post - this is easy to fix, if you want
to do so:
On rawkeydown
Send hideMyKeys to me in 0 seconds
End rawkeydown
on hideMyKeys
-- enable masking of password during entry
lock messages
lock screen
repeat with i = 1 to the number of characters in me
if the imagesource of char i of me is not "tinyPadlock" then
set the imagesource char i of me to "tinyPadlock"
end if
end repeat
unlock messages
end hideMyKeys
-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Bill
Marriott
Sent: Tuesday, December 06, 2005 1:13 PM
To: use-revolution at lists.runrev.com
Subject: Re: custom password dialogue
Yes a characteristic of this technique is that a letter typed appears
for
the milliseconds between the keydown and the keyup event. Even on
Windows.
You can regard this as a serious security breach, or as an improvement
on
usability (to ensure someone is typing what they think they are typing).
But it is very simple and I like how it looks/behaves.
"Eric Chatonet" wrote
> Would be a very elegant and "short coding" solution if I had not the
time
> to read the letters that are typed (Mac OS)
> Then you have to use a rawKeyDown handler (or KeyDown + deleteKey)
and it
> becomes another story...
> But the idea is very good: completely cross-platform :-)
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list