Page 1 of 1

Action with periodic repetition

Posted: Tue Nov 09, 2021 10:12 am
by Vlad
Data: X-Mouse Button Control v2.19.2 (x64), Windows 10 Professional Edition (build 16299) 64-bit,
Logitech HID-compliant G3/MX518 Optical Mouse (manufacturers software is off)

Hello
In a graphics application, when I aim, press and drag the cursor over a specific area, the brush parameters change. I want to record this action with periodic repetition on one mouse button.
The script {MSET:195,280}{LMB}{MADD:50,y} in mode - During (press on down, release on up) works, but multiple presses of this button are required. In mode - Repeatedly while the button is down, I can visually see the movement of the cursor, but nothing happens. Changing the delay does nothing.
Is it possible to somehow achieve the action in a loop while the button is pressed?
Thanks

Re: Action with periodic repetition

Posted: Tue Nov 09, 2021 8:16 pm
by phil
Try:

{MSET:195,280}{PRESS}{LMB}{MADD:50,y}{RELEASE}{LMB}

That might do it.

Re: Action with periodic repetition

Posted: Wed Nov 10, 2021 10:31 am
by Vlad
Thanks for the answer
I have already tried a similar variant, it did not work :(
Rather, I'm surprised that something works in During (press on down, release on up) mode.
I suspected that cursor movement and actual mouse movement are different events for the application