Shift tab to emulate shift click Topic is solved

Ask gaming related questions (AHK v1.1 and older)
CrawfordPNX
Posts: 38
Joined: 03 Dec 2016, 12:44

Shift tab to emulate shift click

18 Jan 2019, 21:36

Hello, I'd like advice on how to make +tab emulate +click at certain position. THis is what I have for Tab.
$tab::
{
if GetKeyState("tab", "P")
MouseMove, X, Y
}
Keywait, tab
Click
MouseMove, X2, Y2
return
What should I do to make each tab press (while shift held down) count as a (shift held down) click at position X, Y ?
Thank you for your help.
Rohwedder
Posts: 7625
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Shift tab to emulate shift click  Topic is solved

19 Jan 2019, 03:10

Hallo,
try:

Code: Select all

tab:: ;makes tab emulate click
+tab:: ;makes +tab emulate +click
MouseMove, X, Y
Keywait, tab
Click ;makes +click while shift held down
MouseMove, X2, Y2
return
if GetKeyState("tab", "P") was redundant

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 91 guests