Re: custom password dialogue
Hi Lynch, Le 6 déc. 05 à 19:22, Lynch, Jonathan a écrit : Ah yes... One of those little minor things that actually makes it work! Does not matter: you got the trick! Bravo :-) Best Regards from Paris, Eric Chatonet. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: custom password dialogue
Ah yes... One of those little minor things that actually makes it work! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Chatonet Sent: Tuesday, December 06, 2005 1:18 PM To: How to use Revolution Subject: Re: custom password dialogue Hi Lynch, Would not you prefer: On rawkeydown Send hideMyKeys to me in 0 seconds pass rawkeydown End rawkeydown on hideMyKeys 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 --pass keyUp end hideMyKeys Works perfectly. Good trick :-) Best Regards from Paris, Eric Chatonet. Le 6 déc. 05 à 18:52, Lynch, Jonathan a écrit : > 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 > pass keyUp > end hideMyKeys So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: custom password dialogue
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Marriott Sent: Tuesday, December 06, 2005 1:13 PM To: use-revolution@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: custom password dialogue
Hi Lynch, Would not you prefer: On rawkeydown Send hideMyKeys to me in 0 seconds pass rawkeydown End rawkeydown on hideMyKeys 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 --pass keyUp end hideMyKeys Works perfectly. Good trick :-) Best Regards from Paris, Eric Chatonet. Le 6 déc. 05 à 18:52, Lynch, Jonathan a écrit : 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 pass keyUp end hideMyKeys So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: custom password dialogue
This is an easy problem to work around... The following method will activate just as soon as the character is placed, and before any keyup handler is executed. Just do this: 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 pass keyUp end hideMyKeys -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Chatonet Sent: Tuesday, December 06, 2005 12:37 PM To: How to use Revolution Subject: Re: custom password dialogue Hi Bill, 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 :-) Best Regards from Paris, Eric Chatonet. Le 6 déc. 05 à 18:13, Bill Marriott a écrit : > You'll need to make your own window, as the dialog presented by "ask > password" is not customizable beyond the prompt text. But, there is no > built-in "Password" style for fields. > > Here is what I thought was a very simple solution to that: > > 1) Include a tiny image (such as a 10x10 pixel padlock) in your > stack. I > named mine "tinyPadlock." > > 2) Attach this script to the field used for password entry: > > on keyUp > -- 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 > pass keyUp > end keyUp > > This handles whatever someone might do in the field, masks their > input, and > still allows you to access the content of the field as if the password > masking was not used. > > I put a small sample file up on Rev Online so you can see how it > works. > > User: MerryOtter > Stack: Easy Passwords So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: custom password dialogue
Very clever... I did this with something much more complicated - storing the test in a custom property as it is typed. Your way is better. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Marriott Sent: Tuesday, December 06, 2005 12:13 PM To: use-revolution@lists.runrev.com Subject: Re: custom password dialogue Eric, You'll need to make your own window, as the dialog presented by "ask password" is not customizable beyond the prompt text. But, there is no built-in "Password" style for fields. Here is what I thought was a very simple solution to that: 1) Include a tiny image (such as a 10x10 pixel padlock) in your stack. I named mine "tinyPadlock." 2) Attach this script to the field used for password entry: on keyUp -- 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 pass keyUp end keyUp This handles whatever someone might do in the field, masks their input, and still allows you to access the content of the field as if the password masking was not used. I put a small sample file up on Rev Online so you can see how it works. User: MerryOtter Stack: Easy Passwords Bill ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: custom password dialogue
Hi Bill, 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 :-) Best Regards from Paris, Eric Chatonet. Le 6 déc. 05 à 18:13, Bill Marriott a écrit : You'll need to make your own window, as the dialog presented by "ask password" is not customizable beyond the prompt text. But, there is no built-in "Password" style for fields. Here is what I thought was a very simple solution to that: 1) Include a tiny image (such as a 10x10 pixel padlock) in your stack. I named mine "tinyPadlock." 2) Attach this script to the field used for password entry: on keyUp -- 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 pass keyUp end keyUp This handles whatever someone might do in the field, masks their input, and still allows you to access the content of the field as if the password masking was not used. I put a small sample file up on Rev Online so you can see how it works. User: MerryOtter Stack: Easy Passwords So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: custom password dialogue
Eric, You'll need to make your own window, as the dialog presented by "ask password" is not customizable beyond the prompt text. But, there is no built-in "Password" style for fields. Here is what I thought was a very simple solution to that: 1) Include a tiny image (such as a 10x10 pixel padlock) in your stack. I named mine "tinyPadlock." 2) Attach this script to the field used for password entry: on keyUp -- 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 pass keyUp end keyUp This handles whatever someone might do in the field, masks their input, and still allows you to access the content of the field as if the password masking was not used. I put a small sample file up on Rev Online so you can see how it works. User: MerryOtter Stack: Easy Passwords Bill ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: custom password dialogue
Hi Anthony, My "How to Ask for a Password" tutorial might help you. You will access it thought "Tutorials Picker" a free plugin that interfaces with the So Smart Software website in order to display all available tutorials directly from the web. You will find it by going to http://www.sosmartsoftware.com/. It shows how to ask for a password in an ordinary field by displaying asterisks. Usually, the job is done using 2 fields, one of which is hidden. Here a custom property stored in the single field is used as a substitute for the usual 2nd hidden field. Best Regards from Paris, Eric Chatonet. Le 2 déc. 05 à 19:45, Anthony Weinfield a écrit : Is there someway to build a password dialogue box that contains more than the password field. For example, I would like a dialogue to display or capture the userid and the password. The "ask password" function only captures the password. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: custom password dialogue
On Dec 2, 2005, at 4:45 PM, Anthony Weinfield wrote: Is there someway to build a password dialogue box that contains more than the password field. For example, I would like a dialogue to display or capture the userid and the password. The "ask password" function only captures the password. use a substack, code your fields and use or the modal command or if you're on a mac os x machine use ask as sheet. :-) just code your field to display * but trap the keys. cheers andre -- Tony Weinfield ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution