Jump to content
Sign in to follow this  
Amox

Mouse Speed on Custom Mousemove function

Recommended Posts

Amox

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 by Amox

Share this post


Link to post
Share on other sites
JLogan3o13

Why not use MouseMove, which has the speed functionality already built in? :huh2:

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 by JLogan3o13

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Amox

Why not use MouseMove, which has the speed functionality already built in? :huh2:

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 by Amox

Share this post


Link to post
Share on other sites
JohnOne

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.

Share this post


Link to post
Share on other sites
Amox

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  by Amox
	
	

			
		

Share this post


Link to post
Share on other sites
Bert
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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×