The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Turning buttons on and off
#1
One would say it should be fairly easy to disable (and enable) the left and/or right mouse buttons (not the mouse itself!) by means of a function with QM. Kevin already helped me with this and advised BlockInput2. I had already tried BlockInput but that blocks both keyboard and mouse and doesn't seem to support flags.

I need this to be global and the following does not work:
Code:
Copy      Help
BlockInput2 2 1
10
;1 allow mouse move, 2 block in windows of other macros too
;The 10 seconds are for testing purposes

Removing flag 1 disables the mouse completely, keeping it in makes the macro not work at all.
I also tested it when activating Notepad first (again I need it to be global) but that doesn't make any difference.
Any ideas?


Messages In This Thread
Turning buttons on and off - by InterestedNewbie - 06-13-2019, 01:15 PM
RE: Turning buttons on and off - by Gintaras - 06-13-2019, 03:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)