Jump to content

Recommended Posts

Posted

Ok so I'm new to this and I'm sure this has been asked a billion times.

I need a hot key to be able to start my script like crt+alt+z

Just to start my script is all I need I have figured out how to exit it but not to start it.

Any help and input would be appreciated and Thanks all!

Posted

Global $Start=False

HotKeySet("^!z","start")

While Not $Start
    Sleep(50)
WEnd

;Your script starts from here:

MsgBox(0,"","It started!")

;-----------------------------
Func start()
    $Start=True
EndFunc

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