bill88 Posted July 14, 2009 Share Posted July 14, 2009 (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 July 14, 2009 by bill88 Link to comment Share on other sites More sharing options...
Skruge Posted July 14, 2009 Share Posted July 14, 2009 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] Link to comment Share on other sites More sharing options...
bill88 Posted July 14, 2009 Author Share Posted July 14, 2009 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 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