Title

Message

Confirm

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

Trigger to open program in a specific position, dependent on which monitor it is opened on.

Avatar from Gravatar.com
Sorrylol
26 discussion posts
Wondering if this is possible, for example, opening (from DisplayFusion taskbar) 'notepad' on Monitor A, notepad moves to position A1, then opening same program on Monitor B (from DisplayFusion taskbar) 'notepad' opens to position B1. I've been looking at the trigger options and couldn't seem to find a way to also make a dependency based on which monitor a program is opened from as well.
22 days ago  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You'd need to use a Scripted Function for this. I can provide an example if you like. Could you tell me the X, Y, Width, and Height values for both positions?
19 days ago  • #2
Avatar from Gravatar.com
Sorrylol
26 discussion posts
Quote:
You'd need to use a Scripted Function for this. I can provide an example if you like. Could you tell me the X, Y, Width, and Height values for both positions?


Yes that would be great!

for reference, three 1920x1080 (24") monitors side by side,

and on the left most monitor, the window position is:
Left: -791, Top: 537, Width: 729, Height: 543.

the right most monitor, the position is:
Left: 1982, Top: 537, Width: 729, Height: 543.

with vertical taskbars being present on both monitors with a size of 62px, both being aligned towards the central monitor.

Thank you.
19 days ago  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, will do! We're very swamped with support requests at the moment, but I do have this on my list to do
10 days ago  • #4
Avatar from Gravatar.com
Sorrylol
26 discussion posts
Quote:
Ok, will do! We're very swamped with support requests at the moment, but I do have this on my list to do


Really do appreciate it, and thanks again.
7 days ago  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, sorry, one more question. What are the monitor IDs for the left and right monitors?
3 days ago  • #6
Avatar from Gravatar.com
Sorrylol
26 discussion posts
Quote:
Ok, sorry, one more question. What are the monitor IDs for the left and right monitors?


The left monitor is ID 2 and the right monitor is ID 3
2 days ago  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, this should hopefully do the trick! Import the attached scripted function, make sure that "Force to monitor" option is disabled for the taskbar shortcut on the DF taskbar, then add this function to a Trigger rule

Hope that helps!
2 days ago  • #8
Avatar from Gravatar.com
Sorrylol
26 discussion posts
Thank you! it works as intended, however, if I wanted to include more dependencies based on other monitors, would this be the appropriate method of doing so:

https://i.imgur.com/BqVmj6h.jpeg

Also, in nvidia surround mode, how would one go about capturing the monitor IDs to use, as I've tried, (1, 1.1, 1.2, 1.3), and they all don't seem to work.
23 hours ago  • #9
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply