surface pen as clicker

Get help with using AutoHotkey (v1.1 and older) 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: 1272
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
Please use [code][/code] when posting code!
Keyboard: Logitech G PRO - Mouse: Logitech G502 LS - OS: Windows 10 Pro 64 Bit - AHK version: 1.1.33.09

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: JPMuir, sofista and 334 guests