06-13-2019, 01:15 PM
(This post was last modified: 06-13-2019, 01:17 PM by InterestedNewbie.)
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:
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?
I need this to be global and the following does not work:
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?