public static void SetText(Point point, string textToSet) { var helperAutomation = new HelperAutomation(); IntPtr windowFromPoint = helperAutomation.WindowFromPoint(point); SetText(windowFromPoint, textToSet); }
public static string GetText(Point point) { var helperAutomation = new HelperAutomation(); IntPtr windowFromPoint = helperAutomation.WindowFromPoint(point); return(GetText(windowFromPoint)); }