From a script (in my case, ooRexx programs), I can issue commands to VirtuaWin easily enough... but the ones that ask VW a question don't seem to produce an answer. I would like to be able to issue any of the query commands and get a response writtem to stdout, so it could be trapped or redirected and used by the script. So eg:
C:\>VirtuaWin.exe -msg 1053 -9999
"C:\My Dropbox\Programs--ALL-\Piculell VirtuaWin V4-3-0\config-IPCLP"
C:\>VirtuaWin.exe -msg 1053 -9999 > %TEMP%\VWcommandresults.txt
As it stands I see that the -msg command (for obvious reasons in a message processing environment) tells VW which window to send the reply back to. Possibly there's a dummy window handle value (eg my "-9999" above that could be used in these situations, for obviously I would not want VW actually to send a reply to any active window! Though... I suppose that one can't place a negative number in a command line as the minus sign looks like the dash before a switch? Unless: VirtuaWin.exe -msg 1053 "-9999" works?
Hmmm. This would be better handled explicitly eg:
VirtuaWin.exe -sysoutmsg 1053
in which case I'd hope that VW would not check for the reply-window's handle parameter being present, AND would write the result to sysout.
Is there any possibility that this or something like it could be implemented?
I would also quite like to see a -msg that requests VW to reply with the names of all the desktops (though if I can get the reply about the
userconfig location I guess I can read the config file for myself even though that's going to be slower); it might also be useful to have an option to dump lots of other parameters and/or the stuff that the 'Log Windows' button writes to an active log file, to sysout.