void Run() -- Run(Form form) -- Run(ApplicationContext context)
BFS.Application.Run(); -- BFS.Application.Run(new FormMain()); -- BFS.Application.Run(new ApplicationContext());
bool WaitForExitByFile(uint appID, uint waitMS);
bool exited = BFS.Application.WaitForExitByFile("*excel.exe", 5000);
string GetUserInputList(string title, string[] values);
string input = BFS.Dialog.GetUserInputList("Test", new string[] { "Item #1", "Item #2", "Item #3" });
string GetUserInputListViewWithFilter(string title, string[] values);
string input = BFS.Dialog.GetUserInputListViewWithFilter("Test", new string[] { "Item #1", "Item #2", "Item #3" });
string GetUserInputList(string title, string[] values, int width, int height);
string input = BFS.Dialog.GetUserInputListViewWithFilter("Test", new string[] {"Item #1", "Item #2", "Item #3" }, 350, 500);
string GetUserInputList(string title, string[] values, int width, int height);
string input = BFS.Dialog.GetUserInputList("Test", new string[] { "Item #1", "Item #2", "Item #3" }, 350, 500);
bool EnableTaskbarOnSide(uint monitorID, string side);
bool ok = BFS.DisplayFusion.EnableTaskbarOnSide(1, "T"); //Enables the Taskbar on Monitor #1 on the Top side
IntPtr MirrorMonitorWithSplitsNoBorder(uint monitorID);
IntPtr windowHandle = BFS.DisplayFusion.MirrorMonitorWithSplitsNoBorder(2);
IntPtr MirrorSelectedArea(int x, int y, int width, int height);
IntPtr windowHandle = BFS.DisplayFusion.MirrorSelectedArea(100, 100, 400, 400);
IntPtr MirrorSelectedAreaNoBorder(int x, int y, int width, int height);
IntPtr windowHandle = BFS.DisplayFusion.MirrorSelectedAreaNoBorder(100, 100, 400, 400);
bool RunFunctionAndWaitWithWindowHandle(string name, IntPtr windowHandle);
bool ok = BFS.DisplayFusion.RunFunctionAndWaitWithWindowHandle("My Other Function", windowHandle);
bool RunFunctionWithWindowHandle(string name, IntPtr windowHandle);
bool ok = BFS.DisplayFusion.RunFunctionWithWindowHandle("My Other Function", windowHandle);
void BFS.DisplayFusion.UnloadApplicationHooks();
BFS.DisplayFusion.UnloadApplicationHooks();
int CountRunningFunctions(string name)
int count = BFS.General.CountRunningFunctions("My Function");
bool SendKeyDownWithoutWait(string keys);
bool ok = BFS.Input.SendKeyDownWithoutWait("X"); //Press X
bool SendKeysFastWithoutWait(string keys);
bool ok = BFS.Input.SendKeysFastWithoutWait("%{X}"); //Sends Alt+X
bool SetMousePositionRelativeNoAcceleration(int x, int y);
bool ok = BFS.Input.SetMousePositionRelativeNoAcceleration(10, 20); //Moves the mouse cursor right 10, down 20
Rectangle[] GetMonitorBoundsNoSplits();
Rectangle[] bounds = BFS.Monitor.GetMonitorBoundsNoSplits();
bool TextToSpeechWithVoice(string text, string voice);
bool ok = BFS.Speech.TextToSpeechWithVoice("Hello, this is my voice!", "Microsoft David Desktop - English (United States)");
IntPtr[] GetVisibleWindowHandlesByMonitor(uint monitorID);
IntPtr[] windowHandles = BFS.Window.GetVisibleWindowHandlesByMonitor(2);
IntPtr GetWindowByText(string windowText);
IntPtr windowHandle = BFS.Window.GetWindowByText("starts with*");
IntPtr GetWindowByTextExact(string windowText);
IntPtr windowHandle = BFS.Window.GetWindowByTextExact("my title text exactly");
IntPtr[] GetWindowsByText(string windowText);
IntPtr[] windowHandles = BFS.Window.GetWindowsByText("starts with*");
IntPtr[] GetWindowsByTextExact(string windowText);
IntPtr[] windowHandles = BFS.Window.GetWindowsByTextExact("my window title");
bool SetWindowHighlight(IntPtr windowHandle, Color colour);
bool ok = BFS.Window.SetWindowHighlight(windowHandle, Color.Red);