On Sun, 16 May 2010 11:32:26 -0400, rayandrews <> wrote:
|So, importing my aliases from 4DOS I'm bumping into all my old ansi.sys keyboard customizations. Can I remap the KB in XP/TCC ? I hope so :-(
Windows NT (all flavors) does not support ANSI control sequences in 32-bit
console applications (though you could use ANSI.SYS in COMMAND.COM).
TCC supports ANSI sequences for output (only, I believe).
What do you want to do with the keyboard?
On Sun, 16 May 2010 13:11:40 -0400, vefatica <> wrote:
|I have a customized version of SHRALIAS which manages global hotkeys, including
|hotkeys to send strings to the foreground window. I believe it could be
|modified to only send those strings if the foreground window is TCC (or TCMD?)
|and otherwise pass the keystroke along to Windows.
But it probably wouldn't be satisfactory as a substitute for ANSI.SYS (a device
driver). For example, if you map Alt-Left to the string "CDD -" and press
Alt-Left, the string is sent immediately but nothing would happen until you
released the keys (allowing continued reading of the input. I would find that
Since I am a man of leisure for the next 7 weeks, I'll see if I can wrap that
functionality up in a TCC plugin. A plugin could use the plugin key-handler
mechanism and achieve much more satisfactory results.
I'm really glad AutoHotkey did what you wanted.
FYI, you can write scripts so that the keystroke reassignments work only
in certain windows rather than all windows in case that becomes
necessary. I also like to assign an otherwise meaningless key
combination (Alt-' in my case) as a suspend / resume toggle for all the
other reassignments. I sometimes temporarily need reassigned keystrokes
to perform "naturally" so it's handy to have a way to turn them all off
-- Dan McMullin
>---Quote (Originally by Charles Dye)---
>What's wrong with PUSHD and POPD?
>Yeah, that's them ... will they work with XP? ... thought they'd only
>work in 16 bit DOS. Come to think of it, I have no basic idea which
>of my old utilities will work in 32 bit.