Please help

Get help with using AutoHotkey and its commands and hotkeys
SaltyAqua
Posts: 1
Joined: 16 May 2019, 10:43

Please help

18 May 2019, 15:03

Hello,
I recently got the new surface pen, and i want to remap the hotkeys.
But it looks like it can't register any keystrokes, i tried the: #F20, #F19, #F18 but nothing seems to work...
The code runs just fine if i try it on other keystrokes like F10.
So does the new surface pen use other keystrokes?



this is my code

Code: Select all

#F20::
Send, I'm sending stuff.
return

#F19::
MsgBox, double clicked.
return

#F18::
MsgBox, Hold Click.
return
Sam_
Posts: 106
Joined: 20 Mar 2014, 20:24

Re: Please help

21 May 2019, 17:23

SaltyAqua wrote:
18 May 2019, 15:03
Hello,
I recently got the new surface pen, and i want to remap the hotkeys.
But it looks like it can't register any keystrokes, i tried the: #F20, #F19, #F18 but nothing seems to work...
The code runs just fine if i try it on other keystrokes like F10.
So does the new surface pen use other keystrokes?



this is my code

Code: Select all

#F20::
Send, I'm sending stuff.
return

#F19::
MsgBox, double clicked.
return

#F18::
MsgBox, Hold Click.
return
Are you sure the pen inputs are seen as F18, F19, etc.? Take a look at the section on Special Keys and try to determine what AHK sees those inputs as.

Return to “Ask For Help”

Who is online

Users browsing this forum: adrenalinskr, Bing [Bot], MrNerd, roysubs, thebbandit and 153 guests