I'm running version 10.0 (Beta 13). At some point in the last few releases (including Beta), my Close Mirror script has stopped working. Here is my script
using System;
using System.Drawing;
public static class DisplayFusionFunction{
public static void Run(IntPtr windowHandle) {
IntPtr mirrorWindow = BFS.Window.GetWindowByText("Mirror Selected Area*");
BFS.Window.Close(mirrorWindow);
}
}
Attached is a screenshot of how I have it defined.
It worked fine for months, but now, if I press Alt-Ctrl-C, I get the message that says Running Close Mirror, but it doesn't actually close it
It looks like the window text for those windows has changed for some reason, they no longer include the "Mirror Selected Area" text. I've put this on our list to fix up
It looks like the window text for those windows has changed for some reason, they no longer include the "Mirror Selected Area" text. I've put this on our list to fix up
Thanks. That seems to work for Close Mirror. I also have a trigger when the mirror is created to move it to a specific monitor and make it full-screen. That one doesn't seem to work even with the same text
Ah yeah, wildcards don't work in Triggers because it uses our text query engine, not a pattern match. You should be able to use this in the Trigger rule though:
This issue should be fixed up in the latest beta, available here: https://www.displayfusion.com/Download/Beta. Please let me know if you still run into any trouble after updating.