Jump to content

Recommended Posts

Posted

can some one convert this to a batch script. i just need a loop with a hot key to exit.

HotKeySet("{ESC}", "Terminate")

While 1

if ProcessExists("calc.exe") Then

Sleep(1000)

Else

Run("calc.exe")

Sleep(100)

EndIf

WEnd

Func Terminate()

Exit 0

EndFunc

Posted

look up something on google about how to make batch prgms... but autoIT code wont work with batch...(or at least i never heard of such a crazy thing)....

[center][/center]

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
×
×
  • Create New...