Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Alt+Left Alt-Right CYCLE (4CONSOLE)

Aug
1,917
68
Hey @vefatica thanks for the ability to cycle just among TCC windows.

Much easier than using Windows Alt-Tab.
Code:
e:\utils>conhelp cycle
CYCLE [-] through interactive 4NT sessions [backward]
In 4NT version 8, bound to <Alt-Right> [<Alt-Left]
CYCLE requires Scroll-Lock to be toggled OFF

I also wrote an alias that helps me remember the shortcut keys in your plugin;
Code:
e:\utils>alias 4keys
tail /n+312 /N11 e:\utils\4console64.txt

Code:
e:\utils>4keys
*KEYHANDLER (not a command)

Ctrl+Del          erase screen buffer from the bottom up one line at a time while scrolling textdown - good for erasing mistakes
Ctrl+Shift+Del    like Ctrl+Del but one page at a time
Ctrl+N            show line numbers in the current viewport; dismiss with any key
Ctrl+R            show ruler; <up> and <down> moves the ruler; dismiss with any other key
Ctrl+F            open the console's FIND dialog
Alt+Right         cycle through open TCCs
Alt+Left          like Alt+Right but in the other direction
Ctrl+K            clear the entire screen buffer

Joe
 
The cycling has been in there for many years ... glad you discovered it. The first 4 key actions are new; I use them a lot. If you see me post a sequence or commands with output, chances are I made mistakes which were erased with Ctrl+Del. And in programming for the console, the ruler saves a lot of time.

Maybe I can implement HELP *KEYHANDLER. I'll look into it.
 
I also wrote an alias that helps me remember the shortcut keys in your plugin;
Code:
e:\utils>alias 4keys
tail /n+312 /N11 e:\utils\4console64.txt
I put the *KEYHANDLER text in the DLL. But you can't get to it with HELP (because TCC knows that *KEYHANDLER is not a command, internal variable, or variable function. But you can get to it with conhelp *KEYHANDLER.

That could make your alias more reliable (if, say, 4cCONSOLE64.TXT changed).
 
Downloaded your update, and have updated my alias to;
Code:
e:\utils>eset 4keys
4keys=conhelp *keyhandler

Thanks!

Joe
 
Back
Top