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 

keyboard script stops working with out finishing the task

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



Joined: 26 Feb 2010
Posts: 1
Location: Honolulu HI

PostPosted: Fri Feb 26, 2010 2:10 am    Post subject: keyboard script stops working with out finishing the task Reply with quote

I have a script that automatically types in my login and password with return key being pressed. The problem is the script never finished. The login is entered but the stops without ever entering the the password. Here is the script:

::/tec::123456{TAB}777777{ENTER}
Back to top
View user's profile Send private message
MasterFocus



Joined: 08 Apr 2009
Posts: 3035
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Fri Feb 26, 2010 2:14 am    Post subject: Reply with quote

Are you sure only one TAB is needed to go to the password field?
You may try something like that:
Code:
::/tec::
  Send, 123456
  Sleep, 100
  Send, {TAB}
  Sleep, 100
  Send, 777777
  Sleep, 100
  Send, {ENTER}
Return

_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"

Antonio França
My stuff: Google Profile
Back to top
View user's profile Send private message Visit poster's website
Tyrsius



Joined: 09 Jul 2009
Posts: 140

PostPosted: Fri Feb 26, 2010 2:16 am    Post subject: Reply with quote

its possible the login form is too slow to accept the input. Try adding a sleep after the tab
Back to top
View user's profile Send private message
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