dexxa Posted April 25, 2005 Posted April 25, 2005 how would i make the mouse move in a circular motion? like merry-go-around i know i need some kinda equation for this, but i just cant figure it out? is the equation similar to this : x/a+y/b=r^2 thank you
therks Posted April 25, 2005 Posted April 25, 2005 Try this as something to start you off with. HotKeySet('!^{END}', 'CloseMe') Func CloseMe() Exit EndFunc Func DoIt() Global $i $i = $i + 1 $s = Round(sin($i/5)*5) $c = Round(cos($i/5)*5) $m = MouseGetPos() MouseMove($m[0]-$s, $m[1]+$c, 0) ToolTip($i) EndFunc While 1 DoIt() WEnd My AutoIt Stuff | My Github
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