Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

_VDESK (MyWindow 0.98 Build 7)

Aug
2,293
111
Hi @Charles Dye,
Why does _vdesk not return anything?
Code:
U:\>which _vdesk
_vdesk is a plugin variable (MyWindow)

Code:
U:\>for /l %i in ( 0, 1, %@dec[%_vdesks] ) echo %i: %@vdesk[%i] %@vdesk[%i,1]
0: Desktop 1 {562FCAFC-D924-4F34-A8C6-32FCA2FE7D63}
1: Desktop 2 {7B611029-6737-475C-B4F2-6AD15807A392}

U:\>echo %_vdesk
ECHO is OFF

Code:
U:\>plugin /i mywindow
Module:      e:\utils\mywindow.dll
Name:        MyWindow
Author:      Charles Dye
Email:       [email protected]
Web:         https://charlesdye.net/plugins/mywindow.html
Description: Reimplements ACTIVATE and WINDOW with support for Windows Terminal, Console2, and ConEmu.
Implements:  activate,window,@mywindow,@vdesk,_vdesk,_vdesks
Version:     0.98  Build 7

Code:
     _x64: 1
   _admin: 1
_elevated: 1

TCC  33.00.15 x64   Windows 10 [Version 10.0.19045.5011]

Joe
 
Apparently the method I'm using to determine which VD is 'current' does not work on all versions of Windows. I'll try to find an alternative approach, but no promises.
 
Thankyou, Charles, for...

Added a perfectly Horrible workaround to get the current VDesk guid on Windows 10 systems,
where is it not available via the registry.

It works,
so all is well,
until Microsoft changes things again.

Joe
 
Back
Top