Sign in to follow this  
Followers 0
bill88

Caps lock problem

3 posts in this topic

#1 ·  Posted (edited)

Hello, I'm having a problem with the following code: (I've made it smaller replicate the problem, that I'm having.)

While (1)
        Send("{A up}")
    Sleep(100)  
WEnd

The problem is: If the caps lock key is on, it will keep toggling the caps lock (why is this?).

However, when the caps lock is not on it will not toggle it.

Edited by bill88

Share this post


Link to post
Share on other sites



Hello, I'm having a problem with the following code: (I've made it smaller replicate the problem, that I'm having.)

While (1)
           Send("{A up}")
    Sleep(100)  
   WEnd

The problem is: If the caps lock key is on, it will keep toggling the caps lock (why is this?).

However, when the caps lock is not on it will not toggle it.

The default behavior of Send is to temporarily disable Capslock in order to send keys more accurately. (Send what you intend to send regardless of Capslock)

You can override it with this:

Opt("SendCapslockMode", 0)

[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

Share this post


Link to post
Share on other sites

The default behavior of Send is to temporarily disable Capslock in order to send keys more accurately. (Send what you intend to send regardless of Capslock)

You can override it with this:

Opt("SendCapslockMode", 0)

Thanks :)

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