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 

CapsLock press-and-leave

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



Joined: 26 Sep 2007
Posts: 42

PostPosted: Sat Mar 29, 2008 3:15 am    Post subject: CapsLock press-and-leave Reply with quote

Code:
~F2::
MouseClick, left,  105,  558
MouseGetPos, xpos, ypos

MouseClick, left,  18,  206
 
SEND, {ENTER}
MouseMove, xpos, ypos, 0
return


works well, but you have to hold F2

What about Pressing CapsLock [light on}, the subroutine operates in a loop untill you press CL again to release it [Light off]?
Back to top
View user's profile Send private message
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