Jump to content

Recommended Posts

Posted

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)

Greez

Supafly


Posted

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 :)

Posted

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" ) = 0

Run  ( "some.bat" )

Exit

Or

RunWait  ( "setup.exe" )

Run  ( "some.bat" )

Exit

Ether should do the trick

Posted

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'

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...