kd8lvt Posted August 17, 2011 Share Posted August 17, 2011 I am having some trouble with disabling the keyboard so I cannot type while autoit is typing!I tried to use the ControlDisable command but I do not know how to use it please help me!-Thanks from kd8lvt Link to comment Share on other sites More sharing options...
Watson Posted August 17, 2011 Share Posted August 17, 2011 (edited) Why not use BlockInput()?The only problem is that if you type Ctrl+Alt+Del, you can easily compromise this function.BlockInput(1) = Disable user inputBlockInput(0) = Enable user input Edited August 17, 2011 by Watson Link to comment Share on other sites More sharing options...
kd8lvt Posted August 17, 2011 Author Share Posted August 17, 2011 (edited) Why not use BlockInput()?The only problem is that if you type Ctrl+Alt+Del, you can easily compromise this function.BlockInput(1) = Disable user inputBlockInput(0) = Enable user inputOh ok i just started Autoit scripting yesterday and I am not very familiar to the whole language yet. Thanks again!it didn't work. i just tested it Edited August 17, 2011 by kd8lvt Link to comment Share on other sites More sharing options...
Watson Posted August 17, 2011 Share Posted August 17, 2011 Oh ok i just started Autoit scripting yesterday and I am not very familiar to the whole language yet. Thanks again!it didn't work. i just tested itIf you run it from Windows Vista or 7, the administrative rights are required. Link to comment Share on other sites More sharing options...
kd8lvt Posted August 17, 2011 Author Share Posted August 17, 2011 (edited) oh ok it helps to have the right rights! now how do I use the start as admin command so I can do it? Edited August 17, 2011 by kd8lvt Link to comment Share on other sites More sharing options...
PowerCat Posted August 17, 2011 Share Posted August 17, 2011 put #requireadmin at the top of the script Link to comment Share on other sites More sharing options...
Watson Posted August 17, 2011 Share Posted August 17, 2011 oh okit helps to have the right rights!now how do I use the start as admin command so I can do it?#RequireAdmin Link to comment Share on other sites More sharing options...
kd8lvt Posted August 17, 2011 Author Share Posted August 17, 2011 thanks! it works now without having to compile it and right click click run as admin..... and well you know... Link to comment Share on other sites More sharing options...
Watson Posted August 17, 2011 Share Posted August 17, 2011 thanks! it works now without having to compile it and right click click run as admin..... and well you know...You're welcome Link to comment Share on other sites More sharing options...
sebgg Posted August 17, 2011 Share Posted August 17, 2011 i just asked a question about block input and got directed to this GC - Program to rapidly manipulate DNA SequencesRotaMol - Program to measure Protein Size 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