I have two applications that have the same ahk_class (qwidget). How can I differentiate between them? Here is the info of window spy:
>>>>>>>>>>( Window Title & Class )<<<<<<<<<<<
Writer - [Document 1 *]
ahk_class QWidget
&
VLC media player
ahk_class QWidget
I tried using the title of the window but that doesn't work either. E.g. #IfWinExist, Writer - [Document 1 *] (or #IfWinActive)
Any ideas? If I use
#IfWinActive, ahk_class QWidget
z::Send !{Left}
x::Send !{Right}
x & z is remapped in both.
Cheers