Code : Tout sélectionner
#include <MsgBoxConstants.au3>
Example()
Func Example()
; Retrieve a list of window handles.
Local $aList = WinList("[class:PROCEXPL]")
; Loop through the array displaying only visable windows with a title.
For $i = 1 To $aList[0][0]
If $aList[$i][0] <> "" And BitAND(WinGetState($aList[$i][1]), 2) Then
$vv = WinGetProcess($aList[$i][1])
MsgBox(0,"",""&$vv)
EndIf
Next
EndFuncin my code i specified the "[class:PROCEXPL]" and i get its PID but i need to specify more than one app like this
Code : Tout sélectionner
Local $aList = WinList("[class:PROCEXPL]" and "[class:MozillaWindowClas]" and "[class:PiriformCCleaner]" )thank you in advance



