"ProcessExist [/F] [/EV-] <process>"
which sounded to be exactly what I needed.
My intention was to look for an active process and do nothing if it was already there but to start it in case it wasn't already running.
So in absence of dedicated examples I thought the following statements should work:
Code: Select all
If Not ProcessExist(processname.exe) Then
CommandExec em_stProcessXXX ###(the em_command had already proven to work correctly)
Else
MsgBox "ProcessXXX running"
Endif
To make it boolean I then triedAutorun plugin error
Error in command at line [28]:
Right value is not boolean: not ProcessExist
Code: Select all
If ProcessExist(processname.exe) = 0 Then
I'm running out of options and ideas to make that work. Any ideas or input from the autorun-specialist in this forum would be highly appreciated.