11-15-2012, 03:12 PM
yes that is the first thing I did..
but I can't find a way to monitor constantly processes, and act when a certain one is closed.
I tried something like that, but i can't go further
function event pid pidparent $name
event: 1 started, 2 ended, 4 running
ARRAY(int) pids
ARRAY(str) noms
sel event
case [1,4]
EnumProcessesEx &pids &noms 2
IStringMap m=CreateStringMap(3)
and I don't know how to carry on
but I can't find a way to monitor constantly processes, and act when a certain one is closed.
I tried something like that, but i can't go further
function event pid pidparent $name
event: 1 started, 2 ended, 4 running
ARRAY(int) pids
ARRAY(str) noms
sel event
case [1,4]
EnumProcessesEx &pids &noms 2
IStringMap m=CreateStringMap(3)
and I don't know how to carry on