03-09-2016, 12:33 AM
Hi, I am using this example form the Help section, but it does not work, Notepad crashes:
;; _______________________________________________________________
out
int w=id(15 win("Notepad" "Notepad")) ;;get handle of Notepad edit control
WindowText x.Init(w)
if text "findme" exists...
if x.Find("findme") ;; <- it crashes here
out "text ''findme'' found" ;; there is a tab here that the editor does not show
;; ________________________________________________________________
I even replaced the second line with:
int w1=act(win("Untitled - Notepad" "Notepad"))
I am using Windows 8.1
Please help, thank you.
;; _______________________________________________________________
out
int w=id(15 win("Notepad" "Notepad")) ;;get handle of Notepad edit control
WindowText x.Init(w)
if text "findme" exists...
if x.Find("findme") ;; <- it crashes here
out "text ''findme'' found" ;; there is a tab here that the editor does not show
;; ________________________________________________________________
I even replaced the second line with:
int w1=act(win("Untitled - Notepad" "Notepad"))
I am using Windows 8.1
Please help, thank you.