Title

Message

Confirm

Force Window to Desktop 1?

Daniel Notov
5 discussion posts
Hi,
Sometimes my Outlook reminder popup gets buried on a different virtual desktop. Is there a trigger or custom code that will always move the window to Desktop 1, Monitor 2.1?
Oct 28, 2021  • #1
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hi Daniel,

We have a script in our repository that you can download (DisplayFusion Settings > Functions > Scripted Function > Download Scripted Function) called "Set Outlook Reminder Windows Always On Top & Move to Center (ignore splits)".

Lines 43-47 of that script move the window to the center of your monitor ignoring all splits, but you can delete those and adjust it to

Code



You can then attach the script to a trigger so it launches when DisplayFusion starts.

Hope that helps!
Oct 28, 2021 (modified Oct 28, 2021)  • #2
Daniel Notov
5 discussion posts
Thanks! I added it & will see how it works.
Oct 28, 2021  • #3
Daniel Notov
5 discussion posts
So far, the script works as advertised. However, it does sometimes pop the window on Desktop 2 if I'd been working there, and returned to Desktop 1. Can the code be tweaked to always land the popup on Desktop 1?
Nov 2, 2021  • #4
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hi Daniel,

How often does the popup not get moved?

Thanks!
Nov 3, 2021  • #5
Was this helpful?  (-)  (-)