Hello, first post and it's obviously a post asking for help. Sorry about that.
Fantastic software, by the way! I've owned a copy of DisplayFusion Pro via Steam for more than a year now, and I can't really work without it anymore.
My problem at the moment is with a custom script. I have a hotkey assigned to set the next playback device as default, and since Windows no longer plays a notification sound whenever the default device changes, I figured a custom script would do the trick. However, I've not really been able to get it to work properly, and I don't know why.
using System;
using System.Drawing;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
bool ok = BFS.General.Sleep(500);BFS.Audio.PlayWAV("C:\\Windows\\Media\\Windows Notify System Generic.wav");
}
}
This is the whole thing, with the comments edited out. Might be a bit messy, but it successfully verifies, and it runs properly when I test it out. Half a second pause then the notify sound plays.
However, when I assign the script the same hotkey as the aforementioned default playback device function, the sound doesn't play. Not from my speakers nor headphones.