Sign in to follow this  
Followers 0
Yata

HotKeySet()

4 posts in this topic

Hi,

My goal is to use HotKeySet() to exit the script when I press esc.

Right now I have:

HotKeySet("{Esc}", "exitProg")
Func exitProg()

EndFunc

What do I need to put between Func exitProg() and EndFunc to exit my script? Thanks!

Share this post


Link to post
Share on other sites



HotKeySet("{Esc}", "exitProg")
Func exitProg()
Exit
EndFunc

Share this post


Link to post
Share on other sites

Hi,

My goal is to use HotKeySet() to exit the script when I press esc.

Right now I have:

HotKeySet("{Esc}", "exitProg")
Func exitProg()

EndFunc

What do I need to put between Func exitProg() and EndFunc to exit my script? Thanks!

The word "Exit"

Share this post


Link to post
Share on other sites

Wow. I feel stupid. Thanks for enlightening me.

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  
Followers 0