Jump to content

Impossible task...


Recommended Posts

I need to have a key (down) be recognised by an autoit script (I am using Larry's _IsPressed) and then I need to immediately stop that key from being repeated to the application, but still know when the key is unpressed. In other words:

We will use the "a" key as and notepad as examples.

While in notepad, someone begins to hold down the "a" key

the autoit script takes over

stops the key from being repeated over and over in notepad

the key is still being held down, and the autoit script does a function during this time

the key is unpressed, and the script stops doing the function

I have tried blockinput after ispressed, but it also blocks the un-press.

Is there any way to do this?

Edited by this-is-me
Who else would I be?
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...