Page 1 of 1

Find Type

Posted: 2004-07-22 08:01:45
by Psyny
Hail.

How i can

1 - After the ,FindType used, print the Name, X Pos, Y Pos of object find.
2 - Appear a dialog with the OK button...
3 - Then i hit OK, print the Name, X Pos , Y Pos of NEXT object thar ive found before..

ITs possible ?

Posted: 2004-07-22 15:27:52
by Lord Ruslan Nightmare
1 - After the ,FindType used, print the Name, X Pos, Y Pos of object find.
2 - Appear a dialog with the OK button...
3 - Then i hit OK, print the Name, X Pos , Y Pos of NEXT object thar ive found before..

Code: Select all

#1
uo.findtype("type")
uo.click("finditem")
while uo.getname("finditem") == ""
  wait(100)
wend
uo.print("Found " + uo.getname("finditem") + " , " + str(uo.getx("finditem")) + " , " + str(uo.getx("finditem")))
#2
message("Message with OK button. Scrip here halts, until you push the button")
#3
uo.print("Found " + uo.getname("finditem") + " , " + str(uo.getx("finditem")) + " , " + str(uo.getx("finditem")))

It's simple...or maybe i don't understand, what do you want...I confused by "found before"

Posted: 2004-07-24 22:30:53
by Psyny
thx for repply
I dont know how to express it too.... my english sucks =(
Its works very well...

But in 3 stage i mean something like, show a list of objects found and their positions...