philo 0 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 Share this post Link to post Share on other sites
Somerset 3,041 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 Spoiler Share this post Link to post Share on other sites
philo 0 Posted February 4, 2007 Thanks!!! Auto It Ruels Share this post Link to post Share on other sites