Sign in to follow this  
Followers 0
OnTheFly

BlockInput not blocking input

8 posts in this topic

Hi. I tested both:

BlockInput(1)

and;

BlockInput(1)

While 1 = 1

Sleep(200)

Wend

But none of them actually block user input. What's wrong?

Share this post


Link to post
Share on other sites



BlockInput(1) will block the users input EXCEPT for Ctrl+Alt+Delete

:)

Share this post


Link to post
Share on other sites

BlockInput(1) will block the users input EXCEPT for Ctrl+Alt+Delete

:)

But it doesn't. Not for me :/ I'm using Windows XP. So it should work.

Share this post


Link to post
Share on other sites

But it doesn't. Not for me :/ I'm using Windows XP. So it should work.

Only as long as the script is running IIRC.


SciTE for AutoItDirections for Submitting Standard UDFs

 

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

 

Share this post


Link to post
Share on other sites

Only as long as the script is running IIRC.

IIRC?

Share this post


Link to post
Share on other sites

IIRC?

IIRC

Share this post


Link to post
Share on other sites

Thanks :)

Do

Until 1 = 2

works but not

While 1 = 1

Wend

:)

Share this post


Link to post
Share on other sites

Both are infinite loops, no difference.

Share this post


Link to post
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
Sign in to follow this  
Followers 0