Basicly i have it working... it clicks each paragon tab ( Core / Offense / Defense / Utility ).. and in each tab,... clicks the buttons to spend all unused paragon points.
I'm doing this to save time.. when you make new toon.. and need to spend thousands of unused paragon points ( saeaonal ).. it can take a long time... my scvript des it in seconds....
The issue at hand.. is i want to REPLACE the x / y coodinartes for the mouse location.. with a variable string... so instead of repeating the coordinate.. i can use the associated variable.
Example:
Code: Select all
; --------------------------------------------------------------
; --- Move Mouse to Paragon Window, Click on UTILITY Tab.
MouseMove, 1029, 130
Click, 1029, 130
MouseMove, 1004, 340
Click, 1004, 340, 50
Sleep, %SendSLeepDelay% ; sleep for X miliseconds.
MouseMove, 1004, 427
Click, 1004, 427, 50
Sleep, %SendSLeepDelay% ; sleep for X miliseconds.
MouseMove, 1004, 511
Click, 1004, 511, 50
Sleep, %SendSLeepDelay% ; sleep for X miliseconds.
MouseMove, 1004, 599
Click, 1004, 599, 50
Sleep, %SendSLeepDelay% ; sleep for X miliseconds.
; --------------------------------------------------------------
; --------------------------------------------------------------
; --- Move Mouse to Paragon Window, Click on DEFENSE Tab.
MouseMove, 835, 130
Click, 835, 130
MouseMove, 1004, 340
Click, 1004, 340, 50
Sleep, %SendSLeepDelay% ; sleep for X miliseconds.
MouseMove, 1004, 427
Click, 1004, 427, 50
Sleep, %SendSLeepDelay% ; sleep for X miliseconds.
MouseMove, 1004, 511
Click, 1004, 511, 50
Sleep, %SendSLeepDelay% ; sleep for X miliseconds.
MouseMove, 1004, 599
Click, 1004, 599, 50
Sleep, %SendSLeepDelay% ; sleep for X miliseconds.
; --------------------------------------------------------------
I wan to set the position as a variable...
; WinParaTabPos4 := "1029, 130" UTILITY
; WinParaTabPos3 := "835, 130" DEFENSE
; WinParaTabPos2 := "650, 130" OFFENSE
; WinParaTabPos1 := "465, 130" CORE
And use :
MouseMove, %WinParaTabPos4%
With all the iterations and repeats of the procedures.. it makes or MUCH more universal for others to use... if they can simply alter the variable oordinated for the 4 main tabs. and the 4 buoons per tab to push.. by just updating those simple coodinates.. since it will be dependant on thier own unique screen size ....
It just tells me errors .. am i doing it wrong?? can it be done at all ?