-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Request) Don't swallow character inputs during keylock #94
Comments
Paste is not something that will work for this. It has already been defined that a linefeed in pasted data means the text that follows should be put below the previous - as if it is a block of text being pasted. After pressing ENTER, the normal way a script would handle the KEYLOCK condition is to wait for it to clear before entering new text. There is no way to do this in your "simple macro" case. I think I would prefer to provide more ways to execute a python code than make enhancements for a "simple macro". But maybe you could describe your use case some more? You want to ENTER multiple times with text entry in between? You want to trigger this macro from a keyboard "shortcut"? Would entering a command on the zti command prompt be reasonable? |
This would greatly help in homegrown basic macros - the basic premise is I can paste in or in Terminal.app map a keyboard shortcut to a sequence of inputs, including tab, up/down/left/right, enter, and home. However, for inputs that send data to the host, there is some unknown latency before the host updates the screen. During this period the screen shows "KeyLock = 1" in highlighted text. During this period it seems that new character inputs get ignored. I can work around this in a number of cases, just by adding blanks in the space and guessing at how many blanks it will take before the screen refreshes. However, in some cases I need to have just the right cursor location or my cursor is somewhere that has data that I don't want to overwrite. If there was some way to either block input or cache keystrokes and only send them once keylock turns off again, it would simplify those macros greatly.
The text was updated successfully, but these errors were encountered: