Title

Message

Confirm

Save Window Positions, Load Monitor Profile, Restore Window Positions

< Return to DisplayFusion Scripted Functions (Macros)

Save Window Positions, Load Monitor Profile, Restore Window Positions

Description
This script will save your window positions, then load a Monitor Profile, and then restore the window positions. It's useful on systems where Windows decides to shuffle around your open applications when the monitor configuration changes. Note that this script is only useful if you're switching between monitor profiles where the primary monitor is the same monitor, since the window positions are saved based on their X,Y location, which is calculated starting at the top-left corner of the primary monitor.
Language
C#
Minimum Version 7.1.0+
Created By Keith Lammers (BFS)
Contributors -
Date Created
Feb 12, 2015
Date Last Modified
Feb 12, 2015

Scripted Function (Macro) Code

Scripted Function (Macro) Help

Scripted Function (Macro) Help

Want to create your own Scripted Function (Macro) or modify an existing one?
Visit our Scripted Function (Macro) Help page for more information on the available functions.