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

            SetText(windowFromPoint, textToSet);
        }
Exemple #3
0
        public static string GetText(Point point)
        {
            var    helperAutomation = new HelperAutomation();
            IntPtr windowFromPoint  = helperAutomation.WindowFromPoint(point);

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