Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Select Monitor Profile from Drop-Down List

Description
This script will show a dialog with a drop-down list allowing you to select a Monitor Profile to load.
Language
C#.net
Minimum Version
Created By
Roman Morong
Contributors
-
Date Created
Dec 5, 2016
Date Last Modified
Dec 5, 2016

Scripted Function (Macro) Code

using System;
using System.Drawing;

public static class DisplayFusionFunction
{
	public static void Run(IntPtr windowHandle)
	{
        string selectedMonitorProfile = BFS.Dialog.GetUserInputList("Please select monitor profile:", BFS.DisplayFusion.GetMonitorProfiles());
		BFS.DisplayFusion.LoadMonitorProfile(selectedMonitorProfile);
	}
}