1

What does a capital A (without an underscore) do in AutoHotKey?

For example, the following script (taken from here) changes the current language to Russian, and it uses a capital A:

ru := DllCall("LoadKeyboardLayout", "Str", "00000419", "Int", 1)
PostMessage 0x50, 0, %ru%,, A

P.S. all A_ variables are listed here, but A isn't.

0

A as a command or function parameter means the active window.

If WinTitle is the letter A and the other 3 window parameters (WinText, ExcludeTitle and ExcludeText) are blank or omitted, the active window will be used.

See also WinActive-->Remarks.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.