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 ?
Find Type
Moderators: Murderator+, Murderator
-
- Expert!
- Posts: 359
- Joined: 2004-04-25 11:11:07
- Contact:
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"
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...
А без пруда не выловишь её и с трудом...