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 

Function Keys (hotkeys) enabled / disabled

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





PostPosted: Sat Jul 31, 2004 4:29 pm    Post subject: Function Keys (hotkeys) enabled / disabled Reply with quote

Hello, I'm using AutoHotkey to allow PuTTy Telnet have hotkeys. However I am noticing that when I map the F# keys something, that they interfere with the regular windows function keys. I attempted to get around it by doing something like this:

Code:

F3::
IfWinActive, PuTTy
{
   winActivate, PuTTy
   Send, {some commands}
   return
}
else
   Send, {F3}
return


However that just causes AutoHotKey to go into a loop of pressing {F3} if my PuTTy program isnt active. If I remove "Send, {F3}" then it causes the F3 function key to be disabled.

How can I get around this? (i know its probably something stupidly simple Confused )

Thanks,
Joe
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Sat Jul 31, 2004 5:55 pm    Post subject: Reply with quote

To have a hotkey that "sends itself", include a $ in front of the definition:

$F3::

Note that this is not supported on Windows 9x.
Back to top
View user's profile Send private message Send e-mail
jchristl
Guest





PostPosted: Mon Aug 02, 2004 4:30 pm    Post subject: Reply with quote

Thanks, Chris

Joe
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