Cant get your examples to work, don't know if I do something wrong.
However if I do an AutoIT3 script this works:
However if I do an AutoIT3 script this works:
ProcessClose("streampoint.exe")
$PID = ProcessExists("streampoint.exe") ; Will return the PID or 0 if the process isn't found.
If $PID Then ProcessClose($PID)
$PID = ProcessExists("streampoint.exe") ; Will return the PID or 0 if the process isn't found.
If $PID Then ProcessClose($PID)
Comment