Title

Message

Confirm

Want to earn a free DisplayFusion Pro license? We're looking for DisplayFusion translators!
<< DiscussionsReply

Ignore monitor splits when moving window to next monitor

Avatar from Gravatar.com
cbns
9 discussion posts
Is there a way to ignore monitor splits when moving to the next monitor?
I use the hotkeys to move a window to my main one when I want to focus on it, and otherwise have it maximazed in a smaller portion of the other monitor.

Moving to next monitor moves it through the splits with all kinds of different sizes and it comes to my primary monitor the size of the smallest split in the order.

Is there any way to move entire windows between physical monitors and ignore splits?

thanks in advance
Jul 28, 2019  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Is the primary monitor split as well? If not, you could setup a custom function (Settings > Functions > Custom Functions > New Custom Function) that moves the window to the primary monitor and maximizes it. I've attached a screenshot for reference.
• Attachment: CustomFunction.png [26,574 bytes]
CustomFunction.png
CustomFunction.png
Jul 30, 2019  • #2
Avatar from Gravatar.com
cbns
9 discussion posts
no, the primary is not split.

i use the win-alt-x command to push a window back and forth, while I switch windows as needed.

so with this method i would need two commands, one to move to primary and one back to the secondary. is that correct?

does it have to maximize? i just want it in the same size, moved over
Jul 31, 2019  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You would need to Custom Functions, yep! It doesn't have to maximize, you can choose "Move Window to Monitor #X" instead of "Move Window to Monitor #X and Maximize."
Jul 31, 2019 (modified Jul 31, 2019)  • #4
Avatar from Gravatar.com
cbns
9 discussion posts
Quote:
You would need to Custom Functions, yep! It doesn't have to maximize, you can choose "Move Window to Monitor #X" instead of "Move Window to Monitor #X and Maximize."


Haven't been able to get this to work the way I would like, as I can only select one of the splits. I wish there was a function move to next physical monitor and ignore virtual/splits.

Use case:
on my secondary monitor i often have lots of static things running in the samze size an position (discord, monitoring software, friends list, chats, email, etc)

When I am focusing on something on my primary monitor (a large website, video in VLC, etc) and want to shift focus to something else, I'll hit the hotkey for move current window to other monitor until I am finished, then move it back.

Since the splits on my secondary are much smaller for my email program/buddy list etc, it resizes them and I have to hit the hotkey once for each split to cycle through them all and get it back on my primary. Then arrives back at my primary as small as the smallest split from the secondary and I have to resize it again. Very annoying

Would it be possible to add this as a feature request? I can't imagine I'm the only one who uses their PC like this
16 days ago  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, so you just want to move it to the second monitor at the same size it is currently on the primary, then be able to move it back soon after that?
14 days ago  • #6
Avatar from Gravatar.com
cbns
9 discussion posts
exactly.

ideally with the same keyboard shortcut, as it works now when you don't use splits (ctrl+win+x)
12 days ago (modified 12 days ago)  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, try out this scripted function. Hopefully it's what you're looking for!
• Attachment: Move to Next Monitor (ignore splits).dfscript [2,792 bytes]
11 days ago  • #8
Avatar from Gravatar.com
cbns
9 discussion posts
Do you build a throne (like in Game of Thrones) out of all the awards you get for amazing customer support?

Wow, I don't think someone has ever written a script for me before. How extremely kind and awesome!!!

The script is a HUGE improvement!
I can certianly live with it like this for sure, but for some reason it doesn't return to it's original position when I switch it back.

Executing the script when it is on the primary monitor moves it to the same position on the second (perfect) but when I move it back it ignores it's last horizontal position (all windows are always docked to the left when returned to the primary monitor)

Being a novice programmer myself, I tinkered around in your script to try and remedy this, but to no avail.

I feel awfully greedy asking for more again, but since it is almost perfect.. :-/
10 days ago (modified 10 days ago)  • #9
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Haha, thanks for the kind words! When I test the script here, it goes back to the same position on the left monitor as well. I'm testing using Notepad.

Can you send me screenshots of the before and after positions?
10 days ago  • #10
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Disregard my last message, I found the bug. Try this one out.
• Attachment: Move to Next Monitor (ignore splits).dfscript [3,140 bytes]
10 days ago  • #11
Avatar from Gravatar.com
cbns
9 discussion posts
Yup, now it is perfect!

Funny, I tried copying that bit in both if and else clauses but it didn't work when I did it. Perhaps you changed something else.

This script is so such a massive improvement to anyone using splits like I do, which I presume many people would if they were more aware of it.

I constantly rant to my friends and family how awesome displayfusion is (at least to those that use more than 1 monitor), but so many don't want to dive deep into settings to look for features.
This feature should be advertised more!

thanks again for this tremendous deed!

p.s. how's the view from up there? ;) haha
10 days ago  • #12
Keith Lammers (BFS)'s profile on WallpaperFusion.com
No worries, glad to hear it! No comment on the view from up here
9 days ago  • #13
Was this helpful?  Login to Vote(2)  Login to Vote
<< DiscussionsReply