Page 1 of 1

It's possible one ControlClickDrag

Posted: 22 Feb 2019, 11:34
by scriptors
I use Autohotkey_H and need to make somethings like "Control"ClickDrag to put into one thread function:

MouseClickDrag, left, 320+wX, 396+wY, 334+wX, 396+wY, 50

try:

Code: Select all

SendEvent {Click 320+wX, 396+wY, down}{click 334+wX, 396+wY, up}

but not work
try

Code: Select all

ControlClick, x320 y396, " wName ",,,, D, NA
Sleep 500
ControlClick, x334 y396, " wName ",,,, U, NA
, some other method ?

please help me :oops:

Re: It's possible one ControlClickDrag

Posted: 15 Jul 2019, 05:34
by rommmcek
This seems to be a typical Ahk_L question. As such it would be better here, but anyway,
try:

Code: Select all

wX:=wY:=0
MouseClickDrag, Left, 320+wX, 396+wY, 334+wX, 396+wY
if it suits you!