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?

Note: Starting with DisplayFusion 8.0, Window Location has been replaced by the more powerful feature, Triggers. You can find out more about Triggers here: https://www.displayfusion.com/Discussions/View/working-with-triggers/?ID=43b31609-4ec6-4478-99f8-a1f11e9793f7

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

  1. Open the DisplayFusion Settings > Window Location tab.
  2. Make sure the "Enable Window Location" option is enabled.
  3. Click Add.
  4. 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.
  5. 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.
  6. In the "Window Size" drop-down, choose whether you want the application to be Maximized, Minimized, Centred, or Spanned after it's moved.
  7. 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.
  8. Click OK, then OK again.
A Basic Rule
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
A Wildcard Rule

Creating a Window Location rule to run a Function

  1. Open the DisplayFusion Settings > Window Location tab.
  2. Make sure the "Enable Window Location" option is enabled.
  3. Click Add.
  4. 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.
  5. In the "Move Window" drop-down, choose "Keep on Same Monitor."
  6. In the "Window Size" drop-down, choose "Run Selected Function on Window."
  7. In the "Function" drop-down, choose the Function that you'd like to have DisplayFusion run on the application when it opens.
  8. 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.
  9. Click OK, then OK again.
A Rule that Runs a Function
A Rule that Runs a Function

Creating a Window Location rule to move all new windows to the current monitor

  1. Open the DisplayFusion Settings > Window Location tab.
  2. Make sure the "Enable Window Location" option is enabled.
  3. Click Add.
  4. 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.
  5. In the "Move Window" drop-down, choose "Move to Current Monitor."
  6. In the "Window Size" drop-down, choose one of the sizing options.
  7. In the "Window Location Mode" drop-down, choose "All Windows."
  8. Click OK, then OK again.
A Rule to Move All Windows to the Current Monitor
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

  1. Open the DisplayFusion Settings > Functions tab.
  2. Click the "Download Scripted" button.
  3. Download the "Move Only a Specific Window of an Application" script.
  4. 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.
  5. Open the DisplayFusion Settings > Window Location tab.
  6. Make sure the "Enable Window Location" option is enabled.
  7. Click Add.
  8. 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.
  9. In the "Move Window" drop-down, choose "Keep on Same Monitor."
  10. In the "Window Size" drop-down, choose "Run Selected Function on Window."
  11. In the "Function" drop-down, choose the "Move Only a Specific Window of an Application" Function.
  12. In the "Window Location Mode" drop-down, choose "All windows."
  13. Click OK, then OK again.
May 21, 2015 (modified Aug 5, 2016)  • #1
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)