philo Posted February 4, 2007 Posted February 4, 2007 (edited) 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 So maybe you understand what im trying.I want to use MouseClickDrag, to select a text line.Whats always 325px.Is this posible If yes how?Thanks Edited February 4, 2007 by philo Auto It Ruels
Somerset Posted February 4, 2007 Posted February 4, 2007 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now