Jump to content

Recommended Posts

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
Posted

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]

Posted

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 :)

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
×
×
  • Create New...