| View previous topic :: View next topic |
| Author |
Message |
AlexRigal Guest
|
Posted: Thu Mar 18, 2010 4:43 pm Post subject: Password too quick ! |
|
|
Hi Guys,
I use the following script to type my password in different web applications :
#a::Send username{tab}password{tab}
Although this always works fine if I use it in a text editor, when I actually use it on a login window, the password field most of the time doesn't display the correct number of characters. My username is always typed properly, some characters are sent to the password field (I can't see which ones, they are replaced by dots or stars) but most of the times 1 or 2 are left out.
It seems that the characters are sent too quickly for the form to accept them... Any ideas ?
Thanks
Alex |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 8688
|
Posted: Thu Mar 18, 2010 4:46 pm Post subject: |
|
|
Please refer AHK Doc for SetKeyDelay Command.
| Quote: | SetKeyDelay
...
A short delay (sleep) is done automatically after every keystroke sent by Send or ControlSend. This is done to improve the reliability of scripts because a window sometimes can't keep up with a rapid flood of keystrokes. |
|
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 4652 Location: AHK Forum
|
|
| Back to top |
|
 |
AlexRigal Guest
|
Posted: Fri Mar 19, 2010 10:18 am Post subject: Works, thanks ! |
|
|
| HotKeyIt wrote: | SendInput should work better  |
Works perfectly well now.
Many thanks for your help.
Alex |
|
| Back to top |
|
 |
|