Programming to do a mouse control click

46 views
Skip to first unread message

Ron Wim

unread,
Jul 31, 2026, 4:50:25 PMJul 31
to QuadStick
I need the mouse to click multiple items that aren't consecutively together.in the

For example, I need to select the first item, then the fourth item, then the sixth item, then the seventh item and so on.  I need them all to stay selected so I can copy them or perform a function of some sort with them.

I know normally it is clicking the left button while you hold down the control key.  But, it won't work when I put what I believe is the correct way to do it.

Here is the code I put in the spreadsheet:

Mouse, Control, Click.png

I tried this one by toggling on the control button and just using the left button that is programmed to the center puff instead of trying to do them together.  That didn't work either.

Mouse, Control, Click 02.png

I also tried both of these on toggle, but then it wants to drag the items I am picking

If anyone knows any better than this, please let me know!

Thank you!

Ronnie

Ron Wim

unread,
Jul 31, 2026, 4:59:34 PMJul 31
to QuadStick

that is just supposed to end at "consecutively together."  Ignore the "in the".

Dan NH

unread,
Jul 31, 2026, 11:10:07 PMJul 31
to QuadStick
Have left control be normal
have mouse left button be delay_on 20

Fred Davison

unread,
Aug 1, 2026, 12:16:25 PMAug 1
to Ron Wim, QuadStick
The problem with the first example:

image.png

is the same input is used for both outputs, so the left control alternatively gets turned on and off when the mouse left button is clicked.

You want to use one input to toggle on the left control and then use a separate input to click on the individual items.

Going through the sequence of copying a random list of items in a folder, you could follow a sequence like this:
  • point the cursor at the first item
  • left mouse button click.  You'll have one selection.
  • toggle on control
  • point at subsequent items and left mouse button click each one to build up your list.
  • right mouse button click.
  • Copy
  • toggle off control

mp_triple_puff_soft is OK for toggling the control, but it is too slow for use with selecting items.  Probably center sip or puff would be better for left mouse click since that is the primary action input.

Ron Wim

unread,
Aug 3, 2026, 12:50:45 PM (13 days ago) Aug 3
to QuadStick
Hello, Dan!  Thanks for the help, unfortunately didn't really work the way I needed it to.  But, it will be useful on other spreadsheets I need it on.  Thanks for the great idea, it should help a lot.

Have a good one and thanks again!

Ronnie
Reply all
Reply to author
Forward
0 new messages