how to active multiple ahk_class 32770 window one by one
how to active multiple ahk_class 32770 window one by one
here i want to active 2-3 window one by one (active window1 and do something, active window2 and do something), it only can be #winactivate by ahk_class 32770, the problem is, the windows got the same title and the sameahk_class 32770, do you got any idea?
Re: how to active multiple ahk_class 32770 window one by one
i mean, how to active the next same ahk_class 32770 window? or how to temporary close/minimize the current ahk_class 32770, then i can active the next ahk_class 32770, and restore the last ahk_class 32770? possible?
Re: how to active multiple ahk_class 32770 window one by one
the PID for the same ahk_class 32770 window in "Windows Task manager" is different
Re: how to active multiple ahk_class 32770 window one by one
Untested, but something like this might work for you.
Code: Select all
WinGet, Windows, List, ahk_class 32770
loop %Windows% {
WinActivate, ahk_id Windows%A_Index%
WinWaitActive, ahk_id Windows%A_Index%
; Do Something
}
Please excuse my spelling I am dyslexic.
Who is online
Users browsing this forum: Bing [Bot], peter_ahk and 360 guests