Hi,
What is the correct syntax to map F4 to LShift + MButton ?
[Mod edit: Topic moved to v2 help.]
Remap to multiple keys
Re: Remap to multiple keys
Hallo,
try:
try:
Code: Select all
*F4::SendInput,% GetKeyState("MButton")?"":"{Blind}{LShift DownR}{MButton DownR}"
*F4 Up::SendInput, {Blind}{MButton Up}{LShift Up}
Re: Remap to multiple keys
Thanks,Rohwedder wrote: ↑03 Feb 2023, 08:55Hallo,
try:Code: Select all
*F4::SendInput,% GetKeyState("MButton")?"":"{Blind}{LShift DownR}{MButton DownR}" *F4 Up::SendInput, {Blind}{MButton Up}{LShift Up}
But it looks this works only for v1, not for v2. Since I did this change, I get a message when launching autohotkey saying that I should install v1, otherwise it does not launch.
Re: Remap to multiple keys
Then simply:
Code: Select all
#Requires AutoHotkey v2.0-
*F4::SendInput GetKeyState("MButton")?"":"{Blind}{LShift DownR}{MButton DownR}"
*F4 Up::SendInput "{Blind}{MButton Up}{LShift Up}"
Re: Remap to multiple keys
@Rohwedder Thanks ! It works like a charm.Rohwedder wrote: ↑03 Feb 2023, 11:23Then simply:Code: Select all
#Requires AutoHotkey v2.0- *F4::SendInput GetKeyState("MButton")?"":"{Blind}{LShift DownR}{MButton DownR}" *F4 Up::SendInput "{Blind}{MButton Up}{LShift Up}"
I can now use fusion 360 with my trackball and easily rotate the camera.
This app is wonderfull.