Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Window Text
#1
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)