surface pen as clicker

Get help with using AutoHotkey and its commands and hotkeys
tnals
Posts: 1
Joined: 18 Aug 2018, 23:24

surface pen as clicker

19 Aug 2018, 11:18

Hi, I am trying to have my surface pen as a clicker.
I want it to perform press tab key 5 times then enter when I click the pen.
#F20::
can anyone help me?
Thank you in advance. :thumbup:
tnals1

Re: surface pen as clicker

19 Aug 2018, 15:06

I tried
#f20:: send, {tab, 5}
send {enter}
return

still not working. I tried like 100 diffent script but not working.
what should I do here?
User avatar
Scr1pter
Posts: 489
Joined: 06 Aug 2017, 08:21
Location: Germany

Re: surface pen as clicker

19 Aug 2018, 18:03

Hi,
I neither have a Surface nor a pen.
If #F20:: is really the right hotkey,
then it would be:

Code: Select all

#F20:: ; Win+F20
Send {Tab 5} ; Press 5x Tab key
Sleep, 5 ; 5 ms delay (optional)
Send {Enter} ; Press Enter key
return ; Return from subroutine
Regards
I'm not an expert, just an enthusiastic AutoHotkey user. 8-)
Please do not support cheaters!
Keyboard: Logitech G15 first generation - Mice: Logitech G9, G502, G602 - OS: Windows 7 Pro 64 Bit - AHK version: 1.1.29.00

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], Gh0sTG0, Mipha, Scr1pter, SOTE, wryyymuda and 32 guests