Amox Posted September 8, 2014 Share Posted September 8, 2014 (edited) Hello , it is possible to add mousemove "speed feature" on custom function? #include <Misc.au3> #RequireAdmin Global $x , $y $x = 0 $y = 0 $hDLL = DllOpen("user32.dll") HotKeySet("{F6}", "_Exit") While 1 If _IsPressed("02", $hDLL) Then $value = MousemovePlus($x, $y) EndIf WEnd Func MousemovePlus($x1, $y1) "Not completed yet...." EndFunc Func _Exit() DllClose($hDLL) Exit EndFunc Edited September 8, 2014 by Amox Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted September 8, 2014 Moderators Share Posted September 8, 2014 (edited) Why not use MouseMove, which has the speed functionality already built in? Edit: Or better yet, why not explain what you want to do, so we can show the umpteen ways it can be done better than by using MouseMove Edited September 8, 2014 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Bert Posted September 8, 2014 Share Posted September 8, 2014 agree with JLOgan3o13. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Amox Posted September 8, 2014 Author Share Posted September 8, 2014 (edited) Why not use MouseMove, which has the speed functionality already built in? Edit: Or better yet, why not explain what you want to do, so we can show the umpteen ways it can be done better than by using MouseMove For some reasons like different coordinate system, It can not done with mousemove function , if you know ways to make mousemove function reads from custom function it will be very helpful Edited September 8, 2014 by Amox Link to comment Share on other sites More sharing options...
JohnOne Posted September 8, 2014 Share Posted September 8, 2014 For some reasons like different coordinate system, It can not done with mousemove function , if you know ways to make mousemove function reads from custom function it will be very helpful What function do you want to read with your mouse? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Amox Posted September 8, 2014 Author Share Posted September 8, 2014 (edited) What function do you want to read with your mouse? I want read the coordinates from this function!? Func MousemovePlus($x1, $y1) "Not completed yet...." EndFunc Edited September 8, 2014 by Amox Link to comment Share on other sites More sharing options...
JohnOne Posted September 8, 2014 Share Posted September 8, 2014 Func MousemovePlus($x1, $y1) MsgBox(0, 0, $x1 & @LF & $y1) EndFunc AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Bert Posted September 8, 2014 Share Posted September 8, 2014 I want read the coordinates from this function!? Func MousemovePlus($x1, $y1) "Not completed yet...." EndFunc Lets put it another way - What is the control you wish to interact with? Saying a place to click the mouse is NOT acceptable. Is it a button? Checkbox? Text field? That is what we are getting at. The Vollatran project My blog: http://www.vollysinterestingshit.com/ 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