08-06-2015, 08:14 PM
Is "WindowText" still work in Windows 10?
I use the following example and it failed:
Macro WTI Test
I use the following example and it failed:
Macro WTI Test
int wMain=win("Calculator" "ApplicationFrameWindow")
int w=child("Calculator" "Windows.UI.Core.CoreWindow" wMain) ;; 'Calculator'
WindowText wt.Init(w)
;Find text "5"
if wt.Find("5") ;; Error (RT) in <open ":5779: /155">WTI Test: 0xC3550001, . <help #IDP_ERR>?
,out "number ''5'' found"
;Click text "9"
wt.Mouse(1 wt.Find("9")) ;; Error (RT) in <open ":5779: /155">WTI Test: 0xC3550001, . <help #IDP_ERR>?