Page 1 of 1

escape key and keyboard_input

Posted: Sat Aug 26, 2006 8:03 pm
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

Posted: Sun Aug 27, 2006 11:54 pm
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

Posted: Mon Aug 28, 2006 3:17 am
by codeguy
Ctrl-Break might be another good option.

Thanks for all your effort!

-Andy

Posted: Sun Oct 01, 2006 4:01 am
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