escape key and keyboard_input

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
codeguy
Posts: 11
Joined: Tue Aug 22, 2006 5:45 pm

escape key and keyboard_input

Post by codeguy »

I have been playing around with the wordcomp.lua script... and I like it very much, but escape does not work correctly. I think keyboard_input() is looking for escape key and aborting the macro so the script never see's it and has a chance to clean up.

Is there a way to get the escape key in a macro? I tried it in the sk.zm macro too, and it wont show escape, rather it aborts the script.

Thanks for your time,

-Andy
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Hi Andy,
Is there a way to get the escape key in a macro? I tried it in the sk.zm macro too, and it wont show escape, rather it aborts the script.

As you have found out the the ESC key is used to kill run-away macros, which is my your macro is being terminated.

Looking back, I would say this was probably not such a good choice of key combinations :(

I will change it to use Ctrl+ESC instead ;)

Cheers Jussi
codeguy
Posts: 11
Joined: Tue Aug 22, 2006 5:45 pm

Post by codeguy »

Ctrl-Break might be another good option.

Thanks for all your effort!

-Andy
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

This latest Zeus patch found here now allows the ESC key to be used within a macro:

http://www.zeusedit.com/forum/viewtopic.php?t=975

Cheers Jussi
Post Reply