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?

Save Window Positions and Lock Desktop

Description
This script will save the current window positions and lock the desktop. If the window positions are altered when you unlock the workstation, you can restore them by running the "Restore Window Positions from Last Save" function.
Language
C#.net
Minimum Version
Created By
Keith Lammers (BFS)
Contributors
-
Date Created
Dec 3, 2015
Date Last Modified
Dec 3, 2015

Scripted Function (Macro) Code

using System;
using System.Drawing;

public static class DisplayFusionFunction
{
	public static void Run(IntPtr windowHandle)
	{
		BFS.DisplayFusion.RunFunction("Save Window Positions");
		BFS.General.ThreadWait(1000);
		BFS.General.LockDesktop();
	}
}