Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

A recent AVG and Avast antivirus update is preventing DisplayFusion 9.9 from launching on some systems.
If you're running into this issue, please update to the latest DisplayFusion 10.0 Beta.

Maximize All Visible Windows

Description
This script will maximize 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.Maximize(window);
		}
	}
}