// Get all Virtual Desktopsvardesktops=VirtualDesktop.GetDesktops();
// Get Virtual Desktop for specific windowvardesktop=VirtualDesktop.FromHwnd(hwnd);
// Get the left/right desktopvarleft=desktop.GetLeft();
varright=desktop.GetRight();