Jump to content

Recommended Posts

Posted

Being in IT, I find myself having to do the same thing over and over again to a point that I am ready to throw the machine out the window. My lastest program that I am designing is a script that would automated my company program installs. With that said, so far I have been successful and writing the automation part for each program; However, what I am looking to do is to disable the mouse and keyboard while the program is running (to prevent anyone from stopping the script while its running) then enable it when the script is done.

any ideas?

thanks so much

Posted

Lookup BlockInput in the help file.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Posted

Thank you so much. That seems to do the trick. Ideally, the program I am writing is suppose to run without anyone having to do anything. I was just worried in case someone moves the mouse or hits a key that it would interupt the program.

I did notice that if I press ctrl-alt-del I can by-pass it.. but that is fine with me.

thanks again

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...