SRL Archive - Suggestions

about findobj


alucard123

2012-11-28 12:37:23

when i try to findobj it dosnt wait for uptext most of the time is there something i/we can do about it

riwu

2012-11-28 21:29:15

It waits 300ms for uptext to appear which should suffice. Try add a writeln(GetUptext) in the procedure to see if it's getting the desired uptext.

Olly

2012-11-28 22:11:07

From: riwu
It waits 300ms for uptext to appear which should suffice. Try add a writeln(GetUptext) in the procedure to see if it's getting the desired uptext.


^ I would recommend doing

mmouse(wherevertheobjectis)
wait(500) //just to make sure
writeln(getuptext)

and see what it returns, uptext is dodgy sometimes.