t0ddie 0 Posted September 15, 2004 (edited) i tried to make a script that would find all running processes, but its not working are wildcards supported for this command? i have had no luck can a simple script be made that tells you all running processes? also would be nice to seperate system processes from user processes. FINALLY.... slighly off this subject... i have seen this in discussion, but never really seen an answer. can you make your script run as a system process? PSHWEW... that was alot of questions ~Todd Edited September 15, 2004 by t0ddie Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Share this post Link to post Share on other sites
Valik 478 Posted September 15, 2004 ProcessList() is in the latest unstable which lists all running processes. Share this post Link to post Share on other sites
t0ddie 0 Posted September 16, 2004 so currently this is not supported and i would have to wait right? for the unstable to become stable? lol Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Share this post Link to post Share on other sites
this-is-me 6 Posted September 16, 2004 Unstable just means it is updated often with new code, and therefore the new code might mess with some coding you already have. It is perfectly OK to download the "unstable" version. I haven't seen it crash anyone's computer yet. Who else would I be? Share this post Link to post Share on other sites
t0ddie 0 Posted September 17, 2004 what about this? can you make your script run as a system process? Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Share this post Link to post Share on other sites
ezzetabi 3 Posted September 17, 2004 Of course not. Jon is very worried that Anti virus programs may see Autoit scripts as a virus and allowing it starting 'system' processes it is a very virus like activity. If you need that your script can't be terminated you may: - start it with a innocent name E.g. services.exe - make two scripts. One is your main script + a adlib func that check if the second exists and if it does not exist it restarts it. The second just checks is the first exists and restart if needed. Both way are not totally sure. In the first case the user may terminate the script anyway. In the second case a cunning user may make a .bat file that kills both processes too fast for them to restart. Share this post Link to post Share on other sites
sugi 0 Posted September 17, 2004 can you make your script run as a system process?What's a system process for you?A program running with the rights of the System? That should be no problem: Just tell windows to run the program with the rights of the System user. E.g. create a service. Share this post Link to post Share on other sites
this-is-me 6 Posted September 17, 2004 Use runassvc from http://www.pirmasoft.com/runassvc.php to make an autoitscript [or any program] a system service. Who else would I be? Share this post Link to post Share on other sites