Jump to content
Sign in to follow this  
omiden

Mouse Functions Help

Recommended Posts

omiden

Is there a specific mouse move function that can just tell it to move down on the y axis at a certain speed?

I'm not talking about pixel search or anything, I'm trying to get it to move down on the y axis at a slow speed from a keypress.

Edited by omiden

Share this post


Link to post
Share on other sites
omiden

HotKeySet("{F5}", "_MoveMouseY")

Func _MoveMouseY()
    $xANDy = MouseGetPos()
    $yPos = $xANDy[1] + 50
    MouseMove($xANDy[0], $yPos, 65)
EndFunc
While 1
    Sleep(1000)
WEnd

You mean like that?

Yes something like that, but I have figured it out already. Just now I want to be able to have a toggle key for this function so the program can stay running in the background and when I need this done I can toggle it on/off. But no luck with a toggle key yet

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.