Jump to content
Sign in to follow this  
philo

Mouse Move

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

Share this post


Link to post
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

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...