Sign in to follow this  
Followers 0
Arez

How Do You Use Blockinput(1)?

8 posts in this topic

I put BlockInput(1) in a .au3 file, open, and nothing happens

What am I doin wrong?

Share this post


Link to post
Share on other sites



Can you please post your entire code?

~cdkid


AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!

Share this post


Link to post
Share on other sites

MouseClick("left", 500, 900, 2, 9)

BlockInput(1)

that's what I have so far. just testing new stuff and it never works.

Share this post


Link to post
Share on other sites

MouseClick("left", 500, 900, 2, 9)

BlockInput(1)

that's what I have so far. just testing new stuff and it never works.

at that point the script has quit so blockinput is stopped, try it with a 10 second sleep ( 10000 ) after the blockinput line and see what happens


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

Thanks a lot, that worked! gonna try it in conjunction with a program really quick and see if I have problems there

Share this post


Link to post
Share on other sites

Argh, is there any way to make them both run at the same time? Something like this:

BlockInput(1)

MouseClick("left", 500, 900, 2, 9)

MouseClick("left", 500, 900, 2, 9)

MouseClick("left", 500, 900, 2, 9)

MouseClick("left", 500, 900, 2, 9)

I want it to block input while the mouse moves. Any way to make that happen?

Share this post


Link to post
Share on other sites

Argh, is there any way to make them both run at the same time? Something like this:

BlockInput(1)

MouseClick("left", 500, 900, 2, 9)

MouseClick("left", 500, 900, 2, 9)

MouseClick("left", 500, 900, 2, 9)

MouseClick("left", 500, 900, 2, 9)

I want it to block input while the mouse moves. Any way to make that happen?

it does, your just not moving the mouse for example

BlockInput(1)
MouseClick("left", 500, 900, 2, 9)
MouseClick("left", 500, 800, 2, 9)
MouseClick("left", 500, 700, 2, 9)
MouseClick("left", 500, 600, 2, 9)

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

Thank you gafrost. Got what I wanted :)

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