Jump to content

Finding X Y


harry310
 Share

Recommended Posts

Thanks man, I ended up finding it on my own too. One more question though, here is my script,

CODE
while 1

if $BG = 1 Then

if $Place = "UC" Then

$num4 = Random (78 , 79)

$num5 = Random (184 , 185)

EndIf

if $Place = "TB" Then

$num4 = Random (82 , 83)

$num5 = Random (191 , 192)

EndIf

$num1 = Random (400 , 405)

$num2 = Random (330 , 335)

$num3 = Random (700 , 1032)

$num6 = Random (400 , 405)

$num7 = Random (500 , 1450)

$num8 = Random (132 , 136)

$num9 = Random (357 , 362)

$num10 = Random (27000 , 40000)

$num11 = Random(352, 356)

$num12 = Random(143, 147)

$num13 = Random(20401, 32263)

mouseclick("right", $num1, $num2)

sleep($num3)

mouseclick("left", $num4, $num5)

sleep($num7)

mouseclick("left", $num8, $num9)

sleep($num10)

mouseclick("left", $num11, $num12)

sleep($num13)

winActivate("World of Warcraft")

I need to find out how to change the X Y of the 2nd click, i think it is num4 but when i change the X Y there it seems to only change with the X Cord, do you have an suggestions?

Link to comment
Share on other sites

I need to find out how to change the X Y of the 2nd click, i think it is num4 but when i change the X Y there it seems to only change with the X Cord, do you have an suggestions?

The x-coordinate of the second click is determined by $num4, however, the y-coordinate is determined by $num5, you'd have to adjust that as well.
IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...