Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

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);
	}
}