Hi, i want to list all windows match with the same "ahk exe"
For exemple, i got 4 same process
i want find them, get titles and put them in a varible like variable1, variable2, variable3, variable4 to call them
Help for listing all windows matched Topic is solved
Re: Help for listing all windows matched
thx but.. i tried for like 2 hours, but i don't have any example
Re: Help for listing all windows matched Topic is solved
Code: Select all
WinGet, win, List, ahk_exe notepad.exe
MsgBox, 64, Number of matches, %win%
Loop, %win%
WinGetTitle, v%A_Index%, % "ahk_id " win%A_Index%
MsgBox, %v2%
Re: Help for listing all windows matched
Thank you !! it's working !!!mikeyww wrote: ↑20 Mar 2021, 21:01Code: Select all
WinGet, win, List, ahk_exe notepad.exe MsgBox, 64, Number of matches, %win% Loop, %win% WinGetTitle, v%A_Index%, % "ahk_id " win%A_Index% MsgBox, %v2%
Who is online
Users browsing this forum: Araphen, Insanibaccha and 210 guests