Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Move all windows from secondary monitors to primary

User Image
Hy-T3k R3dneck
4 discussion posts
I've been using the "Move All Windows to Current Monitor" to accomplish moving all my windows to my primary monitor. What I don't like about doing this is I have to use the titlebar button from a window on my primary monitor to ensure that everything ends on the primary monitor (because of the current monitor) and even when I do that it unminimizes (does not affect location or size of windows thought) my minimized windows on my primary monitor (or whichever I were to trigger it on).

I saw that I could create a custom function that would move the window to the primary monitor (not current monitor like the function i'm using now does) but that does not move all windows. How can I make it so I can move all Windows located on secondary, tertiary (and so on) monitors to the Primary monitor without affecting any of the windows on the Primary monitor? I did search the discussion forums and didn't find what I'm looking for so I apologize in advance if this was answered somewhere else and I missed it. Any help would be greatly appreciated.
Sep 21, 2018  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
There isn't a built-in way of doing that actually, though it's a good idea, so I've added it to our feature request list. In the meantime, it can be done with a Scripted Function. What are the monitor IDs of each monitor, and which monitor ID is primary?
Sep 21, 2018  • #2
User Image
Hy-T3k R3dneck
4 discussion posts
I have monitors 1-3 and 1 is the primary.
Sep 24, 2018  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, could you give this a try?

  • On the DisplayFusion Settings > Functions tab, click the "Download Scripted" button
  • Double-click the script named "Move All Windows to Primary Monitor"
  • Give it a key combination and click OK
  • Optionally, select it, click "Toggle TitleBar Button" (to add it to the caption bar of every application)
  • Click Apply and test it out

Thanks!
Sep 25, 2018  • #4
User Image
Hy-T3k R3dneck
4 discussion posts
It solved part of the problem. I can now click on the title bar button on any window on any monitor (versus having to click on "Move All Windows To Current Monitor" on the primary monitor) and they all move to the primary monitor but it still restores minimized windows on the primary monitor and I don't want minimized windows on the primary monitors to be restored.

Basically, I'm looking to move all windows, not in the primary monitor to the primary monitor and do nothing to the windows already in/on the primary monitor (since they are already there, minimized or not). I hope that makes more sense. Thanks again for your help with this.
Sep 30, 2018  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, there was an issue in the script that I fixed, but this still happens for another reason. When a window is minimized, it returns as being on monitor 0, so I can't tell if it's minimized on the primary or on some other monitor without restoring it first. Are there minimized windows on the other monitor that you want moved to the primary, or are the windows always restored? If there aren't any minimized windows on the non-primary monitor, I can make it so that it only moves the non-minimized windows, which should solve this for you.
Oct 2, 2018  • #6
User Image
Hy-T3k R3dneck
4 discussion posts
"Are there minimized windows on the other monitor that you want moved to the primary, or are the windows always restored?"

Yes, there often are minimized windows on non-primary monitors. In all my setups I've never seen a monitor 0 yet. If monitor 0 is usually the minimized windows on the primary display (my monitor 1) could the script just ignore those windows and I bank on the fact that none of my monitors have had (or hopefully will not have) a monitor ID of 0?
Oct 5, 2018  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
The problem is that minimized windows always return monitor 0, regardless of what monitor they're on. However, we may have found a way to resolve this issue. I will let you know as soon as we have a new test build available to try out.

Thanks!
Oct 5, 2018  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, could you try updating to 9.4 Beta 4 and then try this script again? It should now hopefully be able to get the proper monitor ID for minimized windows too.
Nov 19, 2018  • #9
User Image
TechLobo
4 discussion posts
Sorry to re-open this but I've just started using a multi-monitor setup (2x monitors currently, put potentially soon moving to 3x) and am trialling monitor managers to see which one best suits my needs.

One thing that I have seen related to the above topic is that when you move all windows to another monitor (I would generally use the primary) those windows which were minimised on the secondary monitor are 'opened' when moved to the other (primary) monitor.

Is there any way to keep them minimised, as the current approach creates greater screen clutter?

This is how it works on Actual Multiple Monitors - I did say that I was trialling monitor managers ;)
Dec 10, 2021  • #10
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I will check with our developers to see if it would be possible to make it work that way. If we can't update the built-in function, it may be possible with a scripted function. I'll keep you posted when I have more news.

Thanks!
Dec 10, 2021  • #11
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sounds like we should be able to make that change. We've added it to our list and we'll follow-up if/when we're able to implement it.

Thanks!
Dec 16, 2021  • #12
User Image
TechLobo
4 discussion posts
Glad to hear that - hopefully it won't take too long!
Thanks.
Dec 16, 2021  • #13
Was this helpful?  Login to Vote(-)  Login to Vote(-)