<< DiscussionsReply

Move window to virtual desktop Win10

12 discussion posts
Does DisplayFustion work with WIN10 virtual desktops?

I've switched from a dual monitor setup to a 34" ultrawide (lovin' it, btw) and spend most of my time moving windows between virtual desktops. But the Functions area doesn't have anything to move the window to the next virtual desktop. Is this supported? Script?
Sep 16, 2016  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Not at the moment, but this is currently on our feature request list, so I've added your vote to it. We'll be sure to let you know if/when we're able to implement it in the future.

Sep 16, 2016  • #2
30 discussion posts
Any good news? I hope so.
Apr 13, 2017  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Not yet, sorry!
Apr 20, 2017  • #4
30 discussion posts
Mr. Keith, might you have an update or ETA on when this could be ready. A guesstimate? 1 month, 3 months, 6 months, not on the TO-DO list? Anything will be helpful.

Thanks for rapid response.
Apr 20, 2017  • #5
1 discussion post
I'd find a feature like this very helpful since I do the same on both my desktop and my laptop. My desktop I have multiple monitors, but I do different things like personal stuff and work and have different virtual desktops to keep related windows separated.
Apr 21, 2017  • #6
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We're hoping to include it in the next version, but our priorities can shift to other things depending on how development goes, so no promises!
Apr 21, 2017  • #7
2 discussion posts
Yes please! This would be a perfect addition to DisplayFusion.
Currently I'm using a scheduled task to run this utility but it's clunky and has to be restarted each time I resume from sleep: https://github.com/Eun/MoveToDesktop
Jun 5, 2017  • #8
PabloMartinez's profile on WallpaperFusion.com
As a workaround, you can use this script. It just moves the focused window to the next desktop.


Jun 5, 2017  • #9
PabloMartinez's profile on WallpaperFusion.com
I found a solution. Using this https://github.com/Grabacr07/VirtualDesktop/tree/master library, to make script in DF for managing virtual desktops.

I tried to describe all possible cases, but I might have forgotten or missed something, write if something was unclear or not working correctly.

If you do not have a NuGet package manager or VS, use this http://packages.nuget.org/api/v1/package/VirtualDesktop/2.0.0-beta3 for download package. After downloading, rename .nupkg package to .zip. Unzip and copy the VirtualDesktop.dll from lib\net46 folder to a separate folder for simple use.

@Keith, send to repository?


Jun 8, 2017  • #10
30 discussion posts
Thanks for the status update @Pablo - gonna check this out and see if it works with the new DF update.

Jun 5, 2018  • #11
6 discussion posts
Awesome feature request. I came to this page looking for similar functionality. Windows 10 doesn't have any inbuilt shortcut to move windows across the virtual desktop. While Microsoft adds this, I would like if Display Fusion can have an elegant solution. I don't need anything fancy. A simple keyboard shortcut to move the active window to another virtual desktop would suffice. Additional management feature and intuitiveness of functionality would be an added bonus. Please keep up the good work. Love your product.
Jul 17, 2018  • #12
Mike A
19 discussion posts
I would also like this functionality. I find it a pain to have to bring up the desktop switcher to move a window between desktops.
Apr 12, 2019  • #13
1 discussion post
Any ideas when and if this feature would be added to the DF?
Dec 2, 2019  • #14
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We don't have an ETA on it yet, sorry!
Dec 2, 2019  • #15
25 discussion posts
Resurrecting this one, any new information on this feature request?

20 days ago  • #16
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com

This is still on our list, but no updates on it yet.

18 days ago  • #17
9 discussion posts
For anyone coming across this thread now, as I did, you will likely find that one problem or another when trying to create custom VirtualDesktop scripted functions in DF. One of the problems is that the VirtualDesktop Github has not been updated in awhile and its latest release is broken for .NET Framework applications (including DisplayFusion and its 'Scripted Functions' functionality). Also, if you download the VirtualDesktop script using DisplayFusion's built-in 'Download Scripted Function' feature, the dropbox URL noted in that script's comments (to download the VirtualDesktop library) is broken and no longer accessible. Thanks to the info in this thread and a commit made by a user on the VirtualDesktop Github, I was able to recompile the latest VirtualDesktop release with the changes required to fix it and make it functional with .NET Framework apps once again.

I've included some notes below about the changes made and a URL where the updated/fixed VirtualDesktop library can be downloaded.

As of 2021/07/17, the VirtualDesktop project located at 'https://github.com/Grabacr07/VirtualDesktop/' is broken for .NET Framwork apps. To fix it so that the project works on both .NET Framework apps and .NET Core apps, a few small changes must be made to the source file 'source/VirtualDesktop/Interop/ComInterfaceAssemblyProvider.cs'. These changes have already been made in commit 'https://github.com/Grabacr07/VirtualDesktop/commit/429b3d84e684e042127a9d50a3afe58c913cef45' by user 'vegardlarsen' but the author of the VirtualDesktop project has not accepted these changes into mainline branch of the library.

In order for these changes to be incorporated, the source file has to be modified and the project recompiled. That is exactly what this package is. A recompilation of the project source files exactly as they were on 2021/07/17 with the only changes being those of commit '429b3d84e684e042127a9d50a3afe58c913cef45'. Nothing more, nothing less. The files included in this package are the contents of the 'bin/Release' folder after compilation. In order to use the DLL in DisplayFusion, you will likely only need the contents of the 'lib/net472' folder in this package. Simply extract this folder somewhere onto your computer where it will not be deleted, and then, inside of the 'Scripted Function' window in DisplayFusion, select the 'References' tab, right click, select 'Add Reference (browse for assembly)', and choose the file '{ExtractionLocation}/lib/net472/VirtualDesktop.dll'.

The updated/fixed package can be downloaded at the following URL:
Note: I also included this file as an attachment to this post.

For anyone who is interested, I also create a package containing pre-made 'Scripted Functions' for the following VirtualDesktop operations (thanks to PabloMartinez for supplying the original functions):
  • Create New Desktop
  • Move Window Left
  • Move Window Right
  • Move Window to Current Desktop
  • Remove Current Desktop
  • Switch Desktop Left
  • Switch Desktop Right
  • Toggle App Pin
  • Toggle Window Pin

I bundled them all into a single archive and that archive can be downloaded at the following URL:
Note: I also included this file as an attachment to this post.
• Attachment: VirtualDesktop-NETFrameworkFixed_2021-07-17.rar [4,680,202 bytes]
10 days ago (modified 10 days ago)  • #18
Was this helpful?  (1)  
<< DiscussionsReply