[..] QuoteEmptyStrings %S %R %M %N (etc)
Posted: 2009-09-25, 17:56 UTC
When the cursor is on [..] TC will send NUL, Nothing.
Which has been discussed in a few places for various issues, at least one of the problems is with TCMenu.exe which chokes when it receives nothing instead of an expected string.
The workaround thus far has been to write a user defined command for each of these commands. Which works, but is messy - I have accumulated many em_commands for this one issue alone.
Proposed Feature:
When an empty string would be sent, TC could quote it instead: ""
This could be stored in the IconicX setting in the Button.bar's -- which currently uses '1' for Run Minimized, and '-1' for Run Maximized. This setting could be a binary sum like TC's other settings.
Which has been discussed in a few places for various issues, at least one of the problems is with TCMenu.exe which chokes when it receives nothing instead of an expected string.
The workaround thus far has been to write a user defined command for each of these commands. Which works, but is messy - I have accumulated many em_commands for this one issue alone.
Proposed Feature:
When an empty string would be sent, TC could quote it instead: ""
This could be stored in the IconicX setting in the Button.bar's -- which currently uses '1' for Run Minimized, and '-1' for Run Maximized. This setting could be a binary sum like TC's other settings.
Originally I thought of a wincmd.ini setting, but that would globally affect all buttons, and might cause issues with programs that don't understand quoted empty strings like cmd.exe does. i.e. IF "%~1" == ""1 = Run Minimized
2 = QuoteEmptyStrings
-1 = Run Maximized
-2 = QuoteEmpty Strings
3 = QuoteEmptyStrings & Run Minimized.
-3 = QuoteEmptyStrings & Run Maximized.