I want to remap right ctrl+a
to Home
by using Autohotkey
except an application named xyzzy
.
This is the code I wrote.
if not WinActive("ahk_exe xyzzy.exe")
>^a::Home
The remap works with other application like Notepad, but also remaps when using xyzzy.exe
.
ahk_exe
name is checked by AU3_Spy.exe
as the image below.
How can I exclude specific application from key remapping?