David Moen Posted April 7, 2005 Report Share Posted April 7, 2005 I've seen a few requests for a mouse blocking solution on this forum, so I'll share mine. I had a friend write a little program to disable/enable the mouse. I then wrote a few macros to automate the program to be used when needed. To use this in you own macros, unzip the attached file. Create a folder called TNT Mouse Disabler at C:\Program Files\TNT Mouse Disabler and put the TNTMouseDisabler.exe file in the folder. Import the macros from the Mouse.mex macro file into you macro file. In the macros that you wish to block the mouse from working, add the Log Errors command (check Use Default Log and Do not display error messages), then add the command Macro Run: Mouse Disable at the point you want the mouse to be blocked and add the command Macro Run: Mouse Enable at the point you want the mouse to be unblocked. If the macro gets aborted while the mouse is disabled the Errors will get logged and no message will appear, then the Mouse Enable After Abort macro will run automatically and re-enable the mouse and display a message that the macro was aborted and the mouse was re-enabled. The message also gives the user the option to view the error log. I hope this is useful to some of you. I use it all the time and it works very well. David Moen MouseDisable.ZIP Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.