Processing Ajax...
Save 25% on our desktop apps during our Black Friday/Cyber Monday sale!Save 25% on our desktop apps during our Black Friday/Cyber Monday sale, including DisplayFusion, ClipboardFusion, FileSeek, LogFusion, TrayStatus, and VoiceBot!Save 25% on our desktop apps during our Black Friday/Cyber Monday sale!

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

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() + "\"");
	}
}