Jump to content

Mouse Move


philo
 Share

Recommended Posts

Hi,

I'm creating a script and i want the mouse to move left.

But it most go left, where i have my mouse, so not with cordinates.

So i put my mouse where i want it, and i want it to go 325px to the left :D

So maybe you understand what im trying.

I want to use MouseClickDrag, to select a text line.

Whats always 325px.

Posted Image

Is this posible :D

If yes how?

Thanks :)

Edited by philo

Auto It Ruels

Link to comment
Share on other sites

HotKeySet("{ESC}", "Terminate")
HotKeySet("{f1}", "Highlight")


While 1
    Sleep(100)
WEnd


Func Terminate()
    Exit 0
EndFunc

Func Highlight()
    $start=MouseGetPos ()
    MouseDown ( "left" )
    MouseMove ( $start[0]-325, $start[1],1)
    MouseUp ( "left" )
EndFunc

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