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 

Send same key like the Hotkey does not work

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Tekl
Guest





PostPosted: Thu Sep 02, 2004 3:33 pm    Post subject: Send same key like the Hotkey does not work Reply with quote

Hi,

the following hotkey does not work.

^n::
Send,^n
return

this will work:

^o::
Send,^n
return

or

^n::
Send,^o
return

Tekl
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10465

PostPosted: Thu Sep 02, 2004 6:15 pm    Post subject: Reply with quote

To allow a hotkey to send itself (Windows NT/2k/XP+), include a $ in its definition:

$^n::
Send,^n
return

This prevents the hotkey from triggering itself over and over in an infinite loop (such loops are cut short automatically by the program).
Back to top
View user's profile Send private message Send e-mail
Tekl
Guest





PostPosted: Thu Sep 02, 2004 9:26 pm    Post subject: Reply with quote

Hi Chris,

thanks. I should read your docs. Btw. the docs are very good, never seen this for free software.

Tekl
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports 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