Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WindowText Error
#1
Is "WindowText" still work in Windows 10?
I use the following example and it failed:

Macro WTI Test
Code:
Copy      Help
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>?
#2
It does not work with Windows store apps. Too difficult to implement.
#3
Thanks for the clarification.
Maybe it's something to enhance in future version of QM2.


Forum Jump:


Users browsing this thread: 1 Guest(s)