Find Type

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Psyny
Posts: 22
Joined: 2004-07-06 07:03:29
Contact:

Find Type

Post 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 ?
Lord Ruslan Nightmare
Expert!
Posts: 359
Joined: 2004-04-25 11:11:07
Contact:

Post 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"
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...
Psyny
Posts: 22
Joined: 2004-07-06 07:03:29
Contact:

Post 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...
Post Reply