using System; using System.Drawing; public static class VoiceBotScript { public static void Run(IntPtr windowHandle) { // loop forever while (true) { // if you press Alt, Ctrl and G together this will exit the function if (BFS.Input.IsKeyDown("18;17;71")) break; // send the "F" key BFS.Input.SendKeys("{VK_70}"); // sleep for a bit so we don't run-up the CPU BFS.General.Sleep(50); } } }