Jump to content

Recommended Posts

Posted

HotKeySet("{F5}", "stop")
AutoItSetOption("WinTitleMatchMode", 2)
$process = ""
While 1
If ProcessExists($process) Then
    ProcessClose($process)
WEnd
EndIf

I can't get it to work, the WEndsays there's no While

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Posted

you had the cart before the horse

HotKeySet("{F5}", "stop")
AutoItSetOption("WinTitleMatchMode", 2)
$process = ""
While 1
If ProcessExists($process) Then
    ProcessClose($process)
EndIf
WEnd

Func Stop()
; do what you want
EndFunc

8)

NEWHeader1.png

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...