Code: Select all
if !WinExist("ahk_class Qt5QWindowIcon")
return
else {
ControlSend, ahk_parent, s, ahk_id %vlcid1%
ControlSend, ahk_parent, s, ahk_id %vlcid2%
}
return
Code: Select all
if !WinExist("ahk_class Qt5QWindowIcon")
return
else {
ControlSend, ahk_parent, s, ahk_id %vlcid1%
ControlSend, ahk_parent, s, ahk_id %vlcid2%
}
return
Code: Select all
WinGet, WinList, List, ahk_class Qt5QWindowIcon ahk_exe vlc.exe
loop, % WinList {
WinActivate, % "ahk_id " WinList%A_Index%
Send, s
}
Code: Select all
WinGet, WinList, List, ahk_class Qt5QWindowIcon ahk_exe vlc.exe
Loop, % WinList
ControlSend, , s, % "ahk_id " WinList%A_Index%