mouse draggin Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
caradoc

mouse draggin

25 Mar 2017, 19:18

Hello,

I am hoping for some help. I am new to Autohotkey, but I feel that this must be possible. Any direction would be very much appreciated.
What I would like to accomplish is to be able to push hold a hotkey trigger, which will run through a series of mouse clicks, then allow me to move my mouse, dragging, until I let go of the hotkey trigger. Essentially, the hotkey trigger acts like a left click, but always on a specific part of the screen.

Many thanks in advance for your help.

Craig
Xeno234
Posts: 71
Joined: 24 Mar 2017, 18:14

Re: mouse draggin  Topic is solved

25 Mar 2017, 19:50

Code: Select all

CoordMode, mouse, screen
f1::
	click 60, 60
	click 70, 70
	click 80, 80 down
	keywait f1
	click up
return
caradoc

Re: mouse draggin

26 Mar 2017, 08:18

Thanks Xeno,

Unfortunately, the mouse won't move while holding the key down. Any way to make that happen?

Thanks again!
Craig
Caradoc

Re: mouse draggin

26 Mar 2017, 10:05

Never mind, I was experimenting on a laptop with a trackpad. It works perfectly on my desktop with a proper mouse.
Thanks for your help.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], wilkster and 316 guests