Help with this script please

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
mrcjevans
Posts: 2
Joined: 27 Jan 2020, 10:02

Help with this script please

27 Jan 2020, 10:09

Hi everyone hope you're ok, currently this will move the mouse back to the same position if I hold it down, what would I need to add in for something that is semi automatic. Also would like to know if there is away to toggle between the two i.e semi automatic/automatic

Code: Select all

setbatchlines, -1
process, priority, ,high

~lbutton::
 {
   mousegetpos, x, y
   while getkeystate("lbutton", "p")
    {
      mousemove, %x%, %y%
    }
 }
return
I'm not that experienced but would it be something like this

Code: Select all

setbatchlines, -1
process, priority, ,high

~lbutton::

Loop
{
Send {LButton}
Sleep 300 
}

 {
   mousegetpos, x, y
   while getkeystate("lbutton", "p")
    {
      mousemove, %x%, %y%
    }
 }
return
any help greatly appreciated

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], mikeyww, parktaije, sanmaodo and 117 guests