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);
int CountRunningFunctions(string name)
int count = BFS.General.CountRunningFunctions("My Function");
bool IsFunctionRunning(string name);
bool isRunning = BFS.General.IsFunctionRunning("My Custom Function");
bool Sleep(uint waitMS);
bool ok = BFS.General.Sleep(500);
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
bool TextToSpeechWithVoice(string text, string voice);
bool ok = BFS.Speech.TextToSpeechWithVoice("Hello, this is my voice!", "Microsoft David Desktop - English (United States)");
void ClearSpeechLog();
bool ok = BFS.VoiceBot.ClearSpeechLog();
string CurrentProfileName();
string profileName = BFS.VoiceBot.CurrentProfileName();
bool IsMacroRunning(string macroName);
BFS.VoiceBot.IsMacroRunning("current time");
void StartListening();
BFS.VoiceBot.StartListening();
void StopListening();
BFS.VoiceBot.StopListening();
void StopMacros();
BFS.VoiceBot.StopMacros();
void ChangeProfile(string profileName);
BFS.VoiceBotActions.ChangeProfile("Google Chrome");
void Delay(int ms);
BFS.VoiceBotActions.Delay(500);
void KeyDown(string keys);
BFS.VoiceBotActions.KeyDown("ctrl;49");
void KeyHoldDuration(string keys, int duration);
BFS.VoiceBotActions.KeyHoldDuration("ctrl;49", 500);
void KeyHoldRepetition(string keys, int repetitions)
BFS.VoiceBotActions.KeyHoldRepetition("ctrl;49", 5);
void KeyPress(string keys);
BFS.VoiceBotActions.KeyPress("ctrl;49");
void KeyToggle(string keys);
BFS.VoiceBotActions.KeyToggle("ctrl;49");
void KeyUp(string keys);
BFS.VoiceBotActions.KeyUp("ctrl;49");
void MouseClick(string button);
BFS.VoiceBotActions.MouseClick("1");
void MouseDoubleClick(string button);
BFS.VoiceBotActions.MouseDoubleClick("1");
void MouseDown(string button);
BFS.VoiceBotActions.MouseDown("1");
void MouseMoveAbsolute();
BFS.VoiceBotActions.MouseMoveAbsolute(50, 100);
void MouseMoveRelative();
BFS.VoiceBotActions.MouseMoveRelative(50, 100);
void MouseUp(string button);
BFS.VoiceBotActions.MouseUp("1");
void OpenFile(string filename);
BFS.VoiceBotActions.OpenFile(@"C:\files\myfile.txt");
void PlayRandomSound(string[] filenames);
BFS.VoiceBotActions.PlayRandomSound(new string[] {"@"C:\sounds\mysound.mp3", @"C:\sounds\mysound1.mp3", @"C:\sounds\mysound2.mp3"});
void PlaySound(string filename);
BFS.VoiceBotActions.PlaySound(@"C:\sounds\mysound.mp3");
void RunMacro(string macroName);
BFS.VoiceBotActions.RunMacro("current time");
void ScrollMouseWheelDown();
BFS.VoiceBotActions.ScrollMouseWheelDown();
void ScrollMouseWheelUp();
BFS.VoiceBotActions.ScrollMouseWheelUp();
void StartProgram(string program);
BFS.VoiceBotActions.StartProgram(@"C:\Windows\explorer.exe");
void StartProgramWithParameters(string program, string[] parameters);
BFS.VoiceBotActions.StartProgramWithParameters(@"C:\Windows\explorer.exe", new string[] {"/e"});
void TextToSpeech(string text);
BFS.VoiceBotActions.TextToSpeech("Talk to me");
void TextToSpeechCustomstring text, int? volume, int? speed, string voiceName);
BFS.VoiceBotActions.TextToSpeechCustom("Talk to me", 100, null, "Microsoft Zira Desktop");
void TypeText(string text);
BFS.VoiceBotActions.TypeText("My text");
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 IsOnCurrentVirtualDesktop(IntPtr windowHandle)
bool isWindowOnCurrentVirtualDesktop = BFS.Window.IsOnCurrentVirtualDesktop(windowHandle);