AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Password too quick !

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
AlexRigal
Guest





PostPosted: Thu Mar 18, 2010 4:43 pm    Post subject: Password too quick ! Reply with quote

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

PostPosted: Thu Mar 18, 2010 4:46 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
HotKeyIt



Joined: 18 Jun 2008
Posts: 4652
Location: AHK Forum

PostPosted: Thu Mar 18, 2010 5:50 pm    Post subject: Reply with quote

SendInput should work better Exclamation
_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
AlexRigal
Guest





PostPosted: Fri Mar 19, 2010 10:18 am    Post subject: Works, thanks ! Reply with quote

HotKeyIt wrote:
SendInput should work better Exclamation


Works perfectly well now.
Many thanks for your help.

Alex
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group