Aha! Thanks to
the KeyboardStateView utility, I was able to figure out that in Windows the left and right Alt keys can be referenced by numeric codes 164 and 165 respectively. Armed with that fact, keystack let me achieve what I was after with the following command:
keystack 165-O Down Enter
That works with my changes to the Alt/Ctrl keys used by TakeCommand. Now I have a simple "TCOPTION" alias that does what I want. Thanks for putting me on the right trail!
UPDATE: Hmm.... That only worked until I made it an alias, and now it's not working at all. How weird. Clearly, I need to do some more investigation. I'll keep updating this until I find something that works...
The good news is that "keystack alt-O down enter"
always works properly if you have TakeCommand configured to use the left Alt key. The bad news is that I can't find any reliable way to configure TakeCommand to use the
right Alt key (so the command-line editing shortcuts that rely on Alt work as I expect) and invoke that dialog. Any thoughts, folks?