Arez Posted March 20, 2006 Share Posted March 20, 2006 I put BlockInput(1) in a .au3 file, open, and nothing happens What am I doin wrong? Link to comment Share on other sites More sharing options...
cdkid Posted March 20, 2006 Share Posted March 20, 2006 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! Link to comment Share on other sites More sharing options...
Arez Posted March 20, 2006 Author Share Posted March 20, 2006 MouseClick("left", 500, 900, 2, 9) BlockInput(1) that's what I have so far. just testing new stuff and it never works. Link to comment Share on other sites More sharing options...
GaryFrost Posted March 20, 2006 Share Posted March 20, 2006 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. Link to comment Share on other sites More sharing options...
Arez Posted March 20, 2006 Author Share Posted March 20, 2006 Thanks a lot, that worked! gonna try it in conjunction with a program really quick and see if I have problems there Link to comment Share on other sites More sharing options...
Arez Posted March 20, 2006 Author Share Posted March 20, 2006 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? Link to comment Share on other sites More sharing options...
GaryFrost Posted March 20, 2006 Share Posted March 20, 2006 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. Link to comment Share on other sites More sharing options...
Arez Posted March 20, 2006 Author Share Posted March 20, 2006 Thank you gafrost. Got what I wanted Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now