Jump to content

Recommended Posts

Posted

something like this

while 1
ToolTip('Script is "Active"', 0, 0)
If _IsPressed(28) Then
sleep(100)
mousemove(drops from pos xxx.200 to xxx.226) -ex 268, 179 to 268, 205
sleep(100)
 
EndIf
 
wend
 
Posted

And your question is?

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted
  On 3/9/2014 at 6:48 PM, water said:

And your question is?

i want it to keep drop 26 pixel up or down... 

so i place my mouse somewhere ... and then i just click up or down :S

sorry for the bad english

Posted

Use MouseGetPos to get the current x and y position of the mouse and add or subtract the value to move as needed. Then use MouseMove to move the mouse to the new position.

My UDFs and Tutorials:

  Reveal hidden contents

 

  • Solution
Posted

Just a small modification needed:

MouseMove($aPos[0], $aPos[1] - 26)

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

:)

My UDFs and Tutorials:

  Reveal hidden contents

 

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
  • Recently Browsing   0 members

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