Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windowtext.find = How to add a "-" in a search word
#6
Sorry to continue on what may be for most --such a 'simple' issue.--
BUT, -I can't get 'WindowText x.Init(w)' to find text in a child window of my primary research software, 'Nota Bene'.
I can now find it in a 'Notepad' window, with you recent advice & help. (I can generally address and control 'child-windows' in Nota Bene, such as: a) hide/unhide window; b) and many more QM commands and functions.

I have spent a lot of time: a) reading the help files and b) tweaking the examples there, along with what you have provided above
BUT
I continue to have a problem with:
a) "window not found" or
b) "object not found" messages

What I want to do is very simple once more, but I'm missing some very important element of the syntax. Hmmm???

The parent application is Nota Bene
The child window could be named "childFilename.nb"

I want to find 'CLWDee' (text) in that window and simply yield a message of:

IF found =
mes "yes"

IF not found =
mes "not found"

And once again, "IF" I can get to this point, I can implement the rest of my macro.

Kent


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)