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.

Load Next Monitor Profile with Confirmation Dialog

Description
This function will load the next Monitor Profile (alphabetically) and then show a dialog box letting you know which Monitor Profile it switched to.
Language
C#.net
Minimum Version
Created By
Keith Lammers (BFS)
Contributors
-
Date Created
Oct 6, 2015
Date Last Modified
Oct 6, 2015

Scripted Function (Macro) Code

using System;
using System.Drawing;

public static class DisplayFusionFunction
{
	public static void Run()
	{
		BFS.DisplayFusion.RunFunction("Load Next Monitor Profile (alphabetically)");
		BFS.General.ThreadWait(1000);
		BFS.Dialog.ShowMessageInfo("The currently loaded Monitor Profile is \"" + BFS.DisplayFusion.GetCurrentMonitorProfile() + "\"");
	}
}