Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windowtext.find = How to add a "-" in a search word
#20
Gintaras, esp. note the very last line of this note. Does it tell you anything?
Wow! -that answers this ? = this string began MONTHS AGO! (ha!)

So, any filename would go there, correct.

For this to work to I have to: a) activate Nota Bene and then b) activate the child fild?

e.g.

act "Nota Bene"
wait 0.2
act child("test.nb")
wait 0.2

THEN I could run what you have listed above:

int wMain=win("Nota Bene - [test.nb]" "ThunderRT6MDIForm")
outw wMain
int w=child("" "ThunderXWText" wMain)
outw w

I can tell you, that this yields the same result of:

0
"Error (RT) ...: window not found.

ALSO, I have tried various files and filenames. This is interesting to me since other commands certainly work on the same file correctly, such as: paste, act, etc., etc.

Here is something that may be important to you or --may tell you something--

When the error message is displayed, the cursor is always blinking BEFORE the "w" of the "int w=child("" "ThunderXWText" wMain)


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)