Title

Message

Confirm

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

Window size/position on a per-monitor basis

Avatar from Gravatar.com
buster2006
3 discussion posts
New user here, bought a while back (thanks Steam sale!) but only just getting around to setting up.

I've had a quick look around but havn't been able to find a solution to my problem. I'm wondering whether it's possible to set something up to do the following;
x2 monitors, Chrome shortcut on each monitor's taskbar. If I click the shortcut on monitor #1, Chrome opens to a specific size and location on monitor #1. Clicking the shortcut on monitor #2 opens Chrome maximized on monitor #2.

I've had a quick look at triggers, but I can't seem to get it to work.

Any help greatly appreciated. DF seems like a very handy app, but all the options are a little overwhelming for a new user.
10 days ago (modified 10 days ago)  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You can do this with Triggers, but web browsers are a bit tricky. You'll need to add part of the page title that the shortcut opens to (e.g. "Gmail") in the Window Text field, and also set the delay for checking the match conditions, because the page needs to be loaded before DisplayFusion checks the window text condition.

I've attached a sample screenshot.

Hope that helps!
• Attachment: ChromeTrigger.png [42,325 bytes]
ChromeTrigger.png
ChromeTrigger.png
8 days ago  • #2
Avatar from Gravatar.com
buster2006
3 discussion posts
Thanks Keith, that appears to work.

For anyone else wanting to do this; 2nd monitor shortcut has the "--start-maximized" command line argument, 1st monitor shortcut uses the above settings.

The start-maximized option is specific to Chrome, I'm wondering if there's a way of making any "app" do this (e.g., explorer)? Same setup; main monitor shortcut opens at specific size/location, 2nd monitor shortcut opens maximized.
5 days ago  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You could add a scripted function (Settings > Functions tab) like this:

Code



That will maximize the winodw if it's on monitor 2. You can then run that from your Trigger rule

Hope that helps!
5 days ago  • #4
Avatar from Gravatar.com
buster2006
3 discussion posts
Thanks for taking the time to help out Keith, appreciated.

I can't seem to get this one working though. Do I just need one trigger rule for explorer.exe with multiple actions (one for size position on monitor 1 and another for maximize on monitor 2), or am I doing it completely wrong?
4 days ago  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Yeah, having both would work, with the one that runs the scripted function positioned after the other one in the list on the Triggers tab. Make sure that the "Stop processing" option is disabled for both.
12 hours ago  • #6
Was this helpful?  Login to Vote(1)  Login to Vote
<< DiscussionsReply