Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse triggers question
#3
If need to block the event, use mouse.waitForClick.

Code:
Copy      Help
        Triggers.Options.ThreadNew();
        Triggers.Mouse[TMClick.Left, "Ctrl"] = o => {
            print.it("mouse button pressed");
            mouse.waitForClick(0, up: true, block: true);
            print.it("mouse button released");
        };

        Triggers.Options.Thread();


Messages In This Thread
Mouse triggers question - by cuitino - 08-16-2024, 03:23 AM
RE: Mouse triggers question - by Gintaras - 08-16-2024, 04:15 AM
RE: Mouse triggers question - by Gintaras - 08-16-2024, 04:44 AM
RE: Mouse triggers question - by cuitino - 08-16-2024, 11:03 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)