Windows 10 DESKTOP switching

Oct 18, 2009
340
15
TCC's DESKTOP command is different from Win 10's. Win 10 does not allow naming desktops. Apparently the multiple desktops in TCC use a different mechanism than Win 10 (as VirtuaWin uses a different mechanism).

Either additions to the TCC command or a separate set of commands.

A separate set would probably be preferable because TCC switching works on Win 7.

However, if possible, still the ability to name a Win 10 desktop--even if Win 10 won't recognize the name--and have the desktop name returned to TCC, e.g.

WINDESKTOP /3 /"Outlook"
Creates Win 10 desktop #3 and assigns it the name Outlook (even though Win 10 won't know about the name).

alternative WINDESKTOP /C=3 /"Outlook"
/C for "create"

WINDESKTOP 3
Goes to Win desktop 3.
Creates it if it doesn't exist

WINDESKTOP 3 /E
Goes to Win desktop 3
Displays an error message if it doesn't exist

alternative: returning an error is the default for WINDESKTOP 3
WINDESKTOP 3 /C
Creates it if it doesn't exist

This might be preferable to "create without notice."


WINDESKTOP "Outlook"
Goes to Win desktop "Outlook".
Creates it if it doesn't exist
Will it automatically assign "next available number"?

WINDESKTOP "Outlook" /E
Goes to Win desktop "Outlook"
Displays an error message if it doesn't exist

echo %@WINDESKTOP[3]
displays: Outlook

echo %@WINDESKTOP["Outlook"]
displays: 3

echo %@WINDESKTOP["Current"]
or %@WINDESKTOP["Name"]
displays the current desktop name

echo %@WINDESKTOP[0]
displays the current desktop number

What about returning both name and number?