Window Location is a powerful feature that allows you to set the default location of an application's first window only, or the first window as well as subsequent child windows. You can have the application automatically move to a specific monitor and have it centred, maximized, or minimized. If you want to get even fancier, you can have the Window Location rule run any function from the list of functions on the Settings > Functions tab. You can even create a custom function to set the exact location and size in pixels, or you can create a scripted function to do almost anything you like with the window.
Creating a basic Window Location rule
Open the DisplayFusion Settings > Window Location tab.
Make sure the "Enable Window Location" option is enabled.
Click Add.
Click "Select Application." If your application is currently running, it will be listed in the Select Application window. If it's not running, click Browse and locate the program's .exe on the drive.
In the "Move Window" drop-down, choose whether you want the application to start on the current monitor (the monitor that the mouse cursor is on), or move to a specific monitor. If you choose "Move to Selected Monitor," click the monitor in the box below the "Move Window" drop-down.
In the "Window Size" drop-down, choose whether you want the application to be Maximized, Minimized, Centred, or Spanned after it's moved.
In the "Window Location Mode" drop-down, choose whether this rule should apply only to the first window of the application, or all windows. "All windows" includes dialogs and message boxes in addition to regular child windows.
Click OK, then OK again.
A Basic Rule
Making a Window Location rule apply to more than one application
If you want a Window Location rule to apply to multiple applications, you can use an asterisk as a wild card, or you can specify multiple programs separated by a pipe.
Here are some examples:
If you had a bunch of programs in the same folder, and wanted them to all be moved by the same Window Location rule, you would put the following into the "Application" text box: C:\AllMyPrograms\*
If you have a couple of programs both named "notepad.exe" but in different locations on the drive, you would enter: *notepad.exe
If you want the Window Location rule to affect both Calculator and Notepad, you would enter: *calc.exe|*notepad.exe
A Wildcard Rule
Creating a Window Location rule to run a Function
Open the DisplayFusion Settings > Window Location tab.
Make sure the "Enable Window Location" option is enabled.
Click Add.
Click "Select Application." If your application is currently running, it will be listed in the Select Application window. If it's not running, click Browse and locate the program's .exe on the drive.
In the "Move Window" drop-down, choose "Keep on Same Monitor."
In the "Window Size" drop-down, choose "Run Selected Function on Window."
In the "Function" drop-down, choose the Function that you'd like to have DisplayFusion run on the application when it opens.
In the "Window Location Mode" drop-down, choose whether this rule should apply only to the first window of the application, or all windows. "All windows" includes dialogs and message boxes in addition to regular child windows.
Click OK, then OK again.
A Rule that Runs a Function
Creating a Window Location rule to move all new windows to the current monitor
Open the DisplayFusion Settings > Window Location tab.
Make sure the "Enable Window Location" option is enabled.
Click Add.
Click "Select Application." If your application is currently running, it will be listed in the Select Application window. If it's not running, click Browse and locate the program's .exe on the drive.
In the "Move Window" drop-down, choose "Move to Current Monitor."
In the "Window Size" drop-down, choose one of the sizing options.
In the "Window Location Mode" drop-down, choose "All Windows."
Click OK, then OK again.
A Rule to Move All Windows to the Current Monitor
Creating a Window Location rule to run on only a specific window for the application
Open the DisplayFusion Settings > Functions tab.
Click the "Download Scripted" button.
Download the "Move Only a Specific Window of an Application" script.
Edit the script to look for the window title of the window you want it to apply to, and also change the X and Y values for the location. You can also modify the code in the "if" statement to do other things with the window if you like.
Open the DisplayFusion Settings > Window Location tab.
Make sure the "Enable Window Location" option is enabled.
Click Add.
Click "Select Application." If your application is currently running, it will be listed in the Select Application window. If it's not running, click Browse and locate the program's .exe on the drive.
In the "Move Window" drop-down, choose "Keep on Same Monitor."
In the "Window Size" drop-down, choose "Run Selected Function on Window."
In the "Function" drop-down, choose the "Move Only a Specific Window of an Application" Function.
In the "Window Location Mode" drop-down, choose "All windows."