08-16-2024, 03:23 AM
Hello again, and thank you for all your help thus far
I'm trying to perform a mouse trigger, separately when the left mouse button+Ctrl are pressed and separately and when they are released.
I attempted the following in the mouse trigger module:
Triggers.Mouse[TMClick.Left,"Ctrl"]= o => {
/////code////;
/////code////;
/////code////;
print.it(mouse.isPressed(MButtons.Left));
mouse.waitForNoButtonsPressed();
/////more code code////;
/////more code code////;
};
Then pressing and holding left mouse button, but apparently print.it(mouse.isPressed(MButtons.Left) returns false even as I continue to press and hold
Also, using separately the following mouse triggers don't seem to work:
Triggers.Mouse[TMClick.Left,"Ctrl"]= o => /////code////;
Triggers.Mouse[TMClick.Left,"Ctrl",TMFlags.ButtonModUp]= o => /////code////;
Thanks in advance as always
I'm trying to perform a mouse trigger, separately when the left mouse button+Ctrl are pressed and separately and when they are released.
I attempted the following in the mouse trigger module:
Triggers.Mouse[TMClick.Left,"Ctrl"]= o => {
/////code////;
/////code////;
/////code////;
print.it(mouse.isPressed(MButtons.Left));
mouse.waitForNoButtonsPressed();
/////more code code////;
/////more code code////;
};
Then pressing and holding left mouse button, but apparently print.it(mouse.isPressed(MButtons.Left) returns false even as I continue to press and hold
Also, using separately the following mouse triggers don't seem to work:
Triggers.Mouse[TMClick.Left,"Ctrl"]= o => /////code////;
Triggers.Mouse[TMClick.Left,"Ctrl",TMFlags.ButtonModUp]= o => /////code////;
Thanks in advance as always