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?

Confirm

Are you sure?

DotPdf's profile on WallpaperFusion.com
I have a TV connected to my computer but I only activate it (with a profile) when I want to use Plex. It would be great to have Plex (or another app) automatically start when a profile is selected.

Thank you very much for such an awesome app,
Jacob
Sep 2, 2013  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We're planning to add functionality in a future version that would allow you to do this. I'll be sure to let you know as soon as it's available!

Thanks!
Sep 3, 2013  • #2
DotPdf's profile on WallpaperFusion.com
Great news! Can't wait! :)
Sep 3, 2013  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
In the latest DisplayFusion 7.0 Betas (http://www.displayfusion.com/Download/Beta/) you can now do "Add Scripted" on the Settings > Functions tab. Here's the code you would use for your request:

Code

using System;
using System.Drawing;

// The 'windowHandle' parameter will contain the window handle for the:
//   - Active window when run by hotkey
//   - Window Location target when run by a Window Location rule
//   - TitleBar Button owner when run by a TitleBar Button
//   - Jump List owner when run from a Taskbar Jump List
//   - Currently focused window if none of these match
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
//Loads the Monitor Profile, make sure to update the name below with the name of your Monitor Profile
BFS.DisplayFusion.LoadMonitorProfile("Monitor Profile Name");

//Loads the application, make sure to update the path with the full path to your application (note the double-backslashes in the path)
BFS.Application.Start("C:\\Program Files (x86)\\TechSmith\\Snagit 12\\Snagit32.exe", "");

}
}


Hope that helps!
Dec 12, 2014  • #4
DotPdf's profile on WallpaperFusion.com
You are AWESOME! Thank you so much. I'll try this out over the weekend.
Dec 12, 2014  • #5
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)