philo Posted February 4, 2007 Share 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 Link to comment Share on other sites More sharing options...
Somerset Posted February 4, 2007 Share 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 Link to comment Share on other sites More sharing options...
philo Posted February 4, 2007 Author Share Posted February 4, 2007 Thanks!!! Auto It Ruels Link to comment Share on other sites More sharing options...
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