Can KEYSTACK send Alt-1 (Alt-2 ...)?

May 20, 2008
11,538
103
Syracuse, NY, USA
Keystack can send them, but Windows will eat or translate most alt keys.
I dunno! I''ve been using Alt-1, Alt-2 , ... for a couple days. Windows gives them to TCC, and my key handler gets them ... not so when I try with KEYSTACK.

Example:

Issue
Code:
KEYSTACK /w180 Alt-1
and, within 10 seconds, open the OPTION\Keyboard tab and place the cursor in "New Shortcut Key" ... all I get is "Alt-".

In contrast, if I type Alt-1 while in that box, I get Alt-1.
 
May 20, 2008
11,538
103
Syracuse, NY, USA
The intent is to send Alt-1, Alt-2, ... to TCC itself. In a plugin keyhandler I switch between various console screen buffers via those keys. In a stand-alone console, real keystrokes work and KEYSTACK doesn't.
 
May 20, 2008
11,538
103
Syracuse, NY, USA
An Alt-1 does not send the Alt key + the 1 key; it sends the Alt Key + an ASCII value of 1. If you want to send a literal 1 - 9, you need to do something like:

Code:
keystack Alt-"1"

Or you could send:

Code:
keystack Alt-49
Thanks!
 
Similar threads
Thread starter Title Forum Replies Date
B How to? Send backslash with keystack Support 1
vefatica KEYSTACK Alt-" "? Support 6
vefatica KEYSTACK and someone else's MessageBox? Support 1
vefatica KEYSTACK? Support 1
vefatica Fixed KEYSTACK /i with repeat count sends wrong keys Support 7
S WAD KEYSTACK fails in TCC-64 Support 2
vefatica WAD DO ... (KEYSTACK /w ...) Support 18
S Documentation KEYSTACK - has this feature been dropped? Support 5
S How to? Coordinating KEYSTACK action with webpage action Support 1
T KEYSTACK and double-double quotes dropping spaces Support 2
C Size of keystack buffer? Support 2
C How to? KEYSTACK's /W number for 5 minutes Support 2
C keystack Support 1
U Keystack mangles 'special' characters Support 6
S KEYSTACK and caps lock Support 9
B Start and keystack do not work in batch file Support 1
B A swedish character sent through keystack gets converted Support 4
Charles Dye KEYSTACK ! Support 0
T How can I send a simple parameter to a script, in tc 25? Support 2
F Can't send keystrokes to application Support 25
D Documentation Using "send all input to other tabs" Support 11
CWBillow Send Command-line with prompt? Support 6
daniel347x Is it possible to send a line from the "command input" window to the tab without pressing "Enter", w Support 4
electrotype keyboard shotcuts to send commands to a TCC tab? Support 8
vefatica Can I alias @@Ctrl-Shift-Alt-u? Support 4
rps Dir /Nfv -> Alt-F2 Support 2
Phileosophos v24 Alt + F5 sets focus to ribbon Support 12
vefatica Ctrl-Alt-L (R, Left, Right). Support 8
rps TREE /w Alt-F2 Support 1
F How to? Disable TCC's internal response to Alt-F4 Support 8
I Windows 10 console does not allow alt-F4 alias to complete Support 1
D WAD Alt-Left doesn't work, but Alt-Shift-Left does Support 1
S bdebuffer - Alt-Shift_F11 Support 3
vefatica Alt-Enter in Win7? Support 9
G How to? v15: Can't alias Alt-Z Support 7
Stefano Piccardi QUERYBOX focus and ALT-TAB switching Support 6
ehab aboudaya How to? change ALT-F6 to another key Support 1
R Alt-key aliases? Support 3

Similar threads