Reputation: 11110
In AutoIt one can identify a window by both its title and class. For example, to wait 10 seconds for a window to become active:
WinWaitActive("[TITLE:My Window; CLASS:My Class", "", 10)
Can I specify the name of the executable too? What is the equivalent in AutoHotkey? With title only, it would be:
WinWaitActive, My Window
and, with class only, it would be:
WinWaitActive, My Window, ahk_class My Class
Also, there is a ahk_exe Process Name
criterion for the executable names.
Upvotes: 0
Views: 103