Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windowtext.find = How to add a "-" in a search word
#12
If you have any more time = THANKS

The message of 'window not found' seems to imply to me AGAIN, sorry!, --that my syntax may be wrong!

I have tried:

int wMain=win("Nota Bene - [TEST_QM_find-text.nb]" "ThunderRT6MDIForm")
int w=child("" "ThunderXWText" wMain)
WindowText x.Init(w)
if x.Find("MODEL-doc" 0x1000)

and

int wMain=win("Nota Bene" "ThunderRT6MDIForm")
int w=id(32772 wMain) ;;ThunderRT6FormDC 'test.nb'
WindowText x.Init(w)
;;WTI* t=x.Find("CLWDee" 0x1000)
if x.Find("CLWDee");; 0x1000)

(part of this one was generated by the 'Window text' diaglog)


and

int wMain=win("Nota Bene")
int w=child("" "Edit" wMain)
WindowText x.Init(w)
WTI* t=x.Find("cit#" 0x1000)
if t

and

int wMain=win("Notepad")
int w=child("fileNameHere.nb" "Edit" wMain)
WindowText x.Init(w)
WTI* t=x.Find("cit#" 0x1000)
if t

I'm hoping for the best here and NOT trying to be obstinate.

AND thanks for your time, help, advice!!!!!!!!


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)