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 

Hotkey assignment question

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






PostPosted: Thu Feb 28, 2008 1:28 am    Post subject: Hotkey assignment question Reply with quote

I could go into a long story about why I would want to do this, but I'll save ya the time. I would like to create a Hotkey that sends the same key as the assigned Hotkey, but it seem to just loop.

Code:

1::
; A bunch of code
Send 1
; A bunch more code
return


I've also tried timers, but it always sends the keystroke and then executes the code. I can't seem to get it to run some code, then send key, then run mode code.

Any help would be appreciated.

Thanks!
Back to top
Erittaf



Joined: 03 Nov 2007
Posts: 182

PostPosted: Thu Feb 28, 2008 2:25 am    Post subject: Reply with quote

http://www.autohotkey.com/docs/Hotkeys.htm
look at "$"
Back to top
View user's profile Send private message Send e-mail
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