Jump to content

Stop User Interruption While Running Script


Harps
 Share

Recommended Posts

Hi

I have developed a Auto IT script and it runs fine without any error's.

But when the script is running and a user starts clicking and pressing other buttons on the pc or start menu it stop and pauses the script.

Is there a piece of code that I can add in my script to stop any user interruption while the script is running? Also I would like to set the Esc key as a panic button to stop the script.

I am not that good with scripting but have got my install script to work. So I only need additonal coding to stop user interruption while the script is running.

Link to comment
Share on other sites

Hi

I have developed a Auto IT script and it runs fine without any error's.

But when the script is running and a user starts clicking and pressing other buttons on the pc or start menu it stop and pauses the script.

Is there a piece of code that I can add in my script to stop any user interruption while the script is running? Also I would like to set the Esc key as a panic button to stop the script.

I am not that good with scripting but have got my install script to work. So I only need additonal coding to stop user interruption while the script is running.

BlockInput(1)

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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