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?

Prompt for Monitor Profile

Description
This script will show a list of all of your Monitor Profiles, and allow you to select one to load.
Language
C#.net
Minimum Version
Created By
Owen Muhlethaler (BFS)
Contributors
-
Date Created
Jun 29, 2021
Date Last Modified
Nov 24, 2021

Scripted Function (Macro) Code

using System;
using System.Drawing;
using System.Collections.Generic;

public static class DisplayFusionFunction
{
	public static void Run(IntPtr windowHandle)
	{
		// Show the list so the user can choose one
		string selectedProfile = BFS.Dialog.GetUserInputListViewWithFilter("Choose the Monitor Profile to load", BFS.DisplayFusion.GetMonitorProfiles());
		
		// Load the selected profile
		BFS.DisplayFusion.LoadMonitorProfile(selectedProfile);
	}
}