Jump to content
Sign in to follow this  
kd8lvt

Disabling the keyboard

Recommended Posts

kd8lvt

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 :mellow: please help me!

-Thanks from kd8lvt

Share this post


Link to post
Share on other sites
Watson

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 input

BlockInput(0) = Enable user input

Edited by Watson

Share this post


Link to post
Share on other sites
kd8lvt

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 input

BlockInput(0) = Enable user input

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 it

Edited by kd8lvt

Share this post


Link to post
Share on other sites
Watson

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 it

If you run it from Windows Vista or 7, the administrative rights are required.

Share this post


Link to post
Share on other sites
kd8lvt

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 by kd8lvt

Share this post


Link to post
Share on other sites
PowerCat

put #requireadmin at the top of the script

Share this post


Link to post
Share on other sites
Watson

oh ok

it helps to have the right rights!

now how do I use the start as admin command so I can do it?

#RequireAdmin :mellow:

Share this post


Link to post
Share on other sites
kd8lvt

thanks! it works now without having to compile it and right click click run as admin..... and well you know...

Share this post


Link to post
Share on other sites
Watson

thanks! it works now without having to compile it and right click click run as admin..... and well you know...

You're welcome :mellow:

Share this post


Link to post
Share on other sites
sebgg

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

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  

×