Supafly Posted October 20, 2004 Posted October 20, 2004 Hi all!I need some help.I must program a script to check SETUP.exe (if the process still is active).If ist still active, the script should check it again and so on.If Setup.exe doesn't exist anymore, the Script should run a .bat file.can someone help me?it should be VBS (for logonscript)GreezSupafly
MCT Posted October 20, 2004 Posted October 20, 2004 try AutoIt , u should be able 2 make it fairly easy, then just compile the script 2 an EXE
Supafly Posted October 20, 2004 Author Posted October 20, 2004 thx for the tip, but for what shall i use this tool when i've got problems with scripting *g*?i dont know how to check a process....what i can do is a loop
MCT Posted October 20, 2004 Posted October 20, 2004 ProcessExists ( "process" ) if u had read the autoit help file, u would have known that
Nologic Posted October 20, 2004 Posted October 20, 2004 Heh yup...here is a few examples...cut up and edit how ever you like.Run ( "setup.exe" )Do Sleep ( 250 )Until ProcessExists ( "setup.exe" ) = 0Run ( "some.bat" )ExitOrRunWait ( "setup.exe" )Run ( "some.bat" )ExitEther should do the trick
Supafly Posted October 20, 2004 Author Posted October 20, 2004 Thanks MCT for the tool...and Thanks Nologic for the example, its working now with ProcessExists!cool....
MHz Posted October 20, 2004 Posted October 20, 2004 Cool.If your new to Autoit and like it. Get Scite4Autoit3 to script with.And Resource Hacker for it as well. Put exe inside folder 'AutoIt3\SciTe\CompileAU3'
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now