Jump to content
Sign in to follow this  
Yata

HotKeySet()

Recommended Posts

Yata

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
John

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

Share this post


Link to post
Share on other sites
erezlevi

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
Yata

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  

×