Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable Mouse with VBscript

Status
Not open for further replies.

roblay22

IS-IT--Management
Aug 11, 2004
28
0
0
GB
Hi All,
I have a vbscript which I'm running to install an app as a startup script. It works fine and installs the app without a problem.
I'd like to disable the mouse during this activity though to remove any risk of a user interfering with the install process until the script has done its job.
Is there any way of disabling the mouse, either completely or the right and left mouse button clicks using vbscript, either for a set period of time or with a re-enable command which I can insert at the end of the script??
Cheers
 
roblay22,

For official ms package, no, you cannot. If 3rd party component is acceptable, you may look into free version of autoit/autoitx.

regards - tsuji
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top