using System; using System.Drawing; public static class VoiceBotScript { public static void Run(IntPtr windowHandle) { // Store the mouse position Point originalMousePosition = new Point(BFS.Input.GetMousePositionX(), BFS.Input.GetMousePositionY()); // Do stuff here // Restore the mouse position BFS.Input.SetMousePosition(originalMousePosition.X, originalMousePosition.Y); } }
BFS.