quote:
Originally posted by SuperAs
1.- "root\\cimv2" should be changed?... if so, to what?.
No you don't have to change that; however if it is not working try this:
Javascript code:
function GetProcessName(){
return new ActiveXObject("WbemScripting.SWbemLocator").ConnectServer(".").ExecQuery("SELECT * FROM Win32_Process WHERE Name LIKE '%" + sExeName + "%'").Count !== 0;
}
quote:
Originally posted by SuperAs
2.- If I want to change to a custom state, how should I have to change the line:
If you mean personalized status; those are not accessible using Plus! scripting.