[python-win32] Programmatically switch desktops in windows 10?
Tim Roberts
timr at probo.com
Mon Apr 17 02:59:54 EDT 2017
On Apr 16, 2017, at 5:19 AM, reckoner <reckoner at gmail.com> wrote:
>
> Windows 10 has multiple desktops built-in. Is it it possible to
> programmatically switch between desktops? How about programmatically
> moving an active window between desktops?
Yes The interface is COM based, called IVirtualDesktopManager. There are several C# examples on the Interwebs. You create an instance of CLSID aa509086-5ca9-4c25-8f95-589d3c07b48a and fetch an IVirtualDesktopManager interface from that.
—
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list