Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Restore All Visible Windows

Description
This script will restore all visible windows on all monitors.
Language
C#.net
Minimum Version
Created By
Keith Lammers (BFS)
Contributors
-
Date Created
Jun 25, 2019
Date Last Modified
Jun 25, 2019

Scripted Function (Macro) Code

using System;
using System.Drawing;

public static class DisplayFusionFunction
{
	public static void Run(IntPtr windowHandle)
	{
		foreach (IntPtr window in BFS.Window.GetVisibleWindowHandles())
		{
            BFS.Window.Restore(window);
		}
	}
}