I usually use the command #IfWinActive ahk_class.
I can’t use the Title Process ID PID since they change after the action in the windows.
How to activate the desired window if both windows have the same ahk_class? Topic is solved
-
- Posts: 1472
- Joined: 05 May 2018, 12:23
Re: How to activate the desired window if both windows have the same ahk_class?
#IfWinActive [, WinText]
or
not work
or
Code: Select all
#IfWinActive ahk_class QWidget, Browser
1::
Send 2
Return
Re: How to activate the desired window if both windows have the same ahk_class? Topic is solved
Maybe consider RegEx SetTitleMatchMode and use a RegEx WinTitle plus the ahk_class ?
Who is online
Users browsing this forum: No registered users and 290 guests