I tried all these syntaxes but they didn't seem to work and I ran out of options :
Code: Select all
MouseClick, , % "HKeyHkS" XTrig2 "X", % "HKeyHkS" XTrig2 "Y"
MouseClick, , % HKeyHkS%Trig2%X, % HKeyHkS%XTrig2%Y
MouseClick, , HKeyHkS%Trig2%X, HKeyHkS%XTrig2%Y
ImageSearch, , , 1575, 1020, 1630, 1075, % "*10 " HKeyHkS1 "-" HKeyHkKey ".png" ; This works but its not the same parameter
; I know the code below would work, but I wouldn't learn anything if I did it: :dance:
HkeyHkSTrig2:= HKeyHkS%Trig2%
MouseClick, , %HKeyHkSTrig2%X, %HKeyHkSXTrig2%Y
Kind thanks for the attention!
Regards!