Thursday, April 4, 2024

Some autohotkey commands

 Some commands that I fought with but finally was able to make work.

Send key "F2" to a window that might not be active without stealing focus from the active window


In this example, i wanted to first get the actual windows title associated to the executable.

processName := "vMix64.exe"

if (WinExist("ahk_exe " . processName)){

WinGetTitle, title, ahk_exe %processName%

ControlSend,, {F2},%title%


No comments:

Post a Comment

Feel free to leave a comment! If you have any information that you think should be included, please do so here and I'll get it added in.