Jump to content
Sign in to follow this  
onedayillpay

batch script

Recommended Posts

onedayillpay

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

Share this post


Link to post
Share on other sites
weaponx

AutoIt -> Batch file??? Why don't you request Ferrari -> Yugo too.

Share this post


Link to post
Share on other sites
onedayillpay

AutoIt -> Batch file??? Why don't you request Ferrari -> Yugo too.

Ferrari = virus?

my girl freind turns off my programs.

Share this post


Link to post
Share on other sites
DirtDBaK

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]

Share this post


Link to post
Share on other sites
Nevin

Solution: Get a new girlfriend

Share this post


Link to post
Share on other sites
weaponx

Solution: Get a new girlfriend

I didn't see that in the help file... <_<

Share this post


Link to post
Share on other sites
Klexen

Ferrari = virus?

my girl freind turns off my programs.

Hide trayicon, and make your program name lEXPLORER.EXE or something.

Share this post


Link to post
Share on other sites
Nevin

yeah, what's she turning off, anyway? Are you some crazy stalker guy logging what she does on the PC? <_<

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×