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 

Newbie Question

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





PostPosted: Thu Feb 24, 2005 6:53 pm    Post subject: Newbie Question Reply with quote

I am trying to simple make a few of my f keys send usernames and passwords. I have two problems. With the f9, it goes through both f9 and f10. With the f10, the send command is not working even tho I see the cursor blinking in the box. Please see below. I'm hoping it is just a silly mistake but I have read a lot and think it should work....

F9::
send, username{tab}password{enter}{enter}


F10::
RUN, WWW.GOTOMYPC.COM
Winwaitactive
send, username@example-tech.com{tab}password{enter}
Back to top
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Thu Feb 24, 2005 7:01 pm    Post subject: Reply with quote

You need to put a "return" after every label if you want it to end.

Also, just because a window's active doesn't necessarily mean it's ready to be typed in. So try this:

Code:
; This sets a mode for the F10 hotkey.
settitlematchmode,2
return

F9::
send, username{tab}password{enter}{enter}
return


F10::
RUN, WWW.GOTOMYPC.COM
Winwaitactive,GoToMyPC
sleep,2500
send, username@example-tech.com{tab}password{enter}
return
Back to top
View user's profile Send private message
HollyAnn2
Guest





PostPosted: Thu Feb 24, 2005 7:10 pm    Post subject: Newbie Question Reply with quote

Thanks so much! It worked
Back to top
Display posts from previous:   
Post new topic   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