Page 1 of 1

Shift tab to emulate shift click

Posted: 18 Jan 2019, 21:36
by CrawfordPNX
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.

Re: Shift tab to emulate shift click  Topic is solved

Posted: 19 Jan 2019, 03:10
by Rohwedder
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