Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

Remapping F Keys help?

  • Please log in to reply
3 replies to this topic
  • Members
  • 44 posts
  • Last active: Sep 01 2015 08:24 AM
  • Joined: 16 Oct 2012

I'm wanting to remap some F-Keys for a game I'm playing.
The only problem is, I want to re-map F1 to click a mouse coord, while remapping F5 will send the F1 key, not the click defined as F1.
Any ideas?



F1::click, 678, 217



  • Members
  • 125 posts
  • Last active: Apr 25 2017 10:28 AM
  • Joined: 03 Sep 2009

If you read the help file on hotkeys it says right there what needs to be done, you need to learn how to search.

Ill give you the part you need.

This is usually only necessary if the script uses the Send command to send the keys that comprise the hotkey itself, which might otherwise cause it to trigger itself. The $ prefix forces the keyboard hook to be used to implement this hotkey, which as a side-effect prevents the Send command from triggering it. The $ prefix is equivalent to having specified #UseHook somewhere above the definition of this hotkey.

A v i
  • Members
  • 1323 posts
  • Last active: Nov 14 2015 06:56 PM
  • Joined: 30 Jan 2013
✓  Best Answer
F5::Send, {F1}
$F1::click, 678, 217

Now a CS Undergrad. | My WebsiteAutohotkey Scripts | Softwares

Telegram me : @aviaryan

  • Members
  • 44 posts
  • Last active: Sep 01 2015 08:24 AM
  • Joined: 16 Oct 2012

Many thanks. I did search the documentation but did not find the information you have given me. Thanks again.