03-14-2007, 06:03 PM
If has windows
if(win("" "" "appname"))) out "exists"
else
if(ProcessNameToId("appname" 0)) out "exists"
if(win("" "" "appname"))) out "exists"
else
if(ProcessNameToId("appname" 0)) out "exists"