Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
Konst
15 discussion posts
I have 3 monitors, 2 of them at my computer desk and 1 TV monitor at my sofa. When I am sitting at the computer I would want all programs I open to appear on these monitors, however, when I am sitting on my sofa would like that all programs opened to appear on my TV monitor.

The method I have used to combat this issue is to use a short-cut to move current window to current monitor, but I would like a seamless method instead.

So for instance if the mouse cursor is on my TV monitor, open all programs here. If mouse cursor is not on TV monitor, disable function.

Can DisplayFusion help with this?
Oct 13, 2018  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sort of! You can create a Trigger rule that will always move a new window to the current monitor. Please see the attached screenshot for reference.

Hope that helps!
• Attachment: Trigger - All Windows to Current Monitor.png [32,302 bytes]
Trigger - All Windows to Current Monitor.png
Trigger - All Windows to Current Monitor.png
Oct 16, 2018  • #2
User Image
Konst
15 discussion posts
Thanks a lot for the reply, much appreciated. I used the native function for a while where every window appeared on the active monitor (where the mouse cursor was) I found my self very conscious where my mouse cursor was, in a negative way.

If this feature can be limited to one monitor, thats what I am looking for. Meaning when my mouse cursor is on the TV monitor the rule is applied, if not, it is not applied.

Again, thanks for the reply :)
Oct 16, 2018  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
It might be possible with a Scripted Function. I will try to write one for you tomorrow or early next week.
Oct 18, 2018  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sorry, one more question, what's the monitor ID of the TV?
Oct 19, 2018  • #5
User Image
Konst
15 discussion posts
Oh, nice thanks for taking the time to write a script. The monitor ID is LG-BDHT ^^
Oct 19, 2018 (modified Oct 19, 2018)  • #6
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sorry, I mean the monitor ID number, which you can see in the DisplayFusion Monitor Configuration window.
Oct 22, 2018  • #7
User Image
Konst
15 discussion posts
Hey there. This is what I see when I go to Monitor Configuration (picture in attachment)
• Attachment [protected]: Monitor.PNG [294,901 bytes]
Oct 22, 2018  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, thanks! I'll try to have something for you tomorrow.
Oct 23, 2018  • #9
User Image
Konst
15 discussion posts
Great, but don't sweat it. You are doing me a favor here. Do it when you feel like having the time. Thanks :)
Oct 23, 2018  • #10
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, here you go! On the Settings > Functions tab, add a new Scripted Function and paste in the code from the attached text file. Make sure to set the "uint tvID" variable to whatever ID your TV has in the Monitor Config (ID 3 I think?)

Apply the settings after adding the Scripted Function, then add a new Trigger that runs it (see the attached screenshot for reference).

Hope that helps!
• Attachment: Function.txt [452 bytes]
• Attachment: Trigger.png [61,493 bytes]
Trigger.png
Trigger.png
Oct 26, 2018  • #11
User Image
Konst
15 discussion posts
Thats amazing! =D

Also thanks for the clear and easy instructions on how to execute the settings. This script moves newly opened applications / windows to the TV monitor if the mouse is on that monitor. The same rule is not applied if the application / window is already open.

Would it be a great task to apply the same rule to already opened windows that are on the two other screens? For example I have a Windows File Explorer window open on monitor 2, if I click this window on the taskbar which I have on monitor 3, the file explorer window will not move to monitor 3. (if I don't have the window open and then I open it on monitor 3, it will be forwarded to monitor 3, which is great)

I very much appreciate that you took the time to write this script, it will be of much use. Thanks a lot! ::)
Oct 26, 2018  • #12
Keith Lammers (BFS)'s profile on WallpaperFusion.com
No worries! If you change the "Trigger Event" in the Trigger rule from "Window Created" to "Window Focused," it should do what you're looking for. You may also need to set the "Delay before checking match conditions" value to something like 250.
Oct 30, 2018  • #13
User Image
Konst
15 discussion posts
This is EXACTLY what I have been looking for. Thank you so much. It have been quite annoying having windows open up on other screens which forced me to constantly hit the keybinding to move current window to current monitor.

It's so great with the script you wrote, again thanks a lot, very much appreciate it. Gonna have this for years to come. =D
Oct 31, 2018  • #14
User Image
Konst
15 discussion posts
I just noticed if I click the taskbar on Monitor 3 on my web-browser for example, it moves to monitor 3 which is great, though if I want to minimize the web-browser by clicking the taskbar icon again, the web-browser goes away but comes right back again. (this happens to all applications of course on monitor 3)

Another obstacle - Is it possible to make it so it won't re-fire the current application when minimizing it?
Oct 31, 2018  • #15
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I can't seem to reproduce that behaviour. Any chance you could capture a video of it?
Nov 1, 2018  • #16
User Image
Konst
15 discussion posts
Yes sure, give me a few min
Nov 1, 2018  • #17
User Image
Konst
15 discussion posts
Here is the video: https://youtu.be/0hkByTeO38k

When I click the program to minimize it, it comes back up again. That's the issue now :)

The scaling on my TV is set to 150% that's why it shows so big on the video.
Nov 1, 2018  • #18
Keith Lammers (BFS)'s profile on WallpaperFusion.com
That's super weird, I'm definitely not seeing that here. Could you send me a debug log?

  • On the DisplayFusion Settings > Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal" and click Apply
  • Reproduce the issue and note the time so we'll know where to check in the log file
  • Click the "Export Info to File" button on the Settings > Troubleshooting tab
  • Reply with the file attached
  • Disable debug logging after sending the log
Nov 1, 2018  • #19
User Image
Konst
15 discussion posts
19:27 is the time. Thanks
• Attachment [protected]: DisplayFusionDebugInfo.zip [51,399 bytes]
Nov 1, 2018  • #20
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ah I see. I can't reproduce it with the DisplayFusion multi-monitor taskbars, but I can with the Windows multi-monitor taskbars. Unfortunately I can't find a way to make it work with the Windows taskbars :(
Nov 2, 2018  • #21
User Image
Konst
15 discussion posts
Ok thats fine. You've helped a lot, thanks :)
Nov 2, 2018  • #22
User Image
St---
15 discussion posts
EDIT - found it... a trigger. unless you have another toggle for it??

Anywhere in settings where one can say - open a minimized window on the exact monitor from whose taskbar I hit it?
Jul 17, 2020 (modified Jul 17, 2020)  • #23
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)