gregerish Posted December 13, 2007 Share Posted December 13, 2007 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! Link to comment Share on other sites More sharing options...
Nahuel Posted December 13, 2007 Share Posted December 13, 2007 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 Link to comment Share on other sites More sharing options...
gregerish Posted December 13, 2007 Author Share Posted December 13, 2007 thx works like a charm =] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now