[Feature Request?} Pause Until Mouse Click

I think this is a feature request, but maybe I’m missing something. I need an action that pauses until the mouse is clicked. This isn’t the same as clicking a button – I mean clicked anywhere. I have some macros that find as an image a dropdown menu and click it. Then I am stuck – I want to do more actions after I click something in the menu.

There are two approaches:

  • Pause Until calculation MOUSEBUTTON()
  • Pause Until calculation MOUSEBUTTON() != 0

or

  • Set variable “Button Pressed” to 0
  • Pause Until calculation Button Pressed

with another macro that is triggered on the button press using the USB Device Key trigger that sets the Button Pressed variable to 1.

4 Likes