capslock Questions

3

I am using a python program that is activate when pressing Caps Lock key and I want to be able to turn on/off the caps lock status when the program is active. I tried to send keys with virtkey but...
Untruthful asked 31/1, 2010 at 11:3

2

I am using windows on my laptop. I also remapped caps lock to esc for smoother vim experience. Now my caps lock light indicator is always off and I start wondering "Is it possible to use caps ...
Yetty asked 19/6, 2022 at 19:11

3

I'm writing a program that uses Caps Lock as a toggle switch. It would be nice to set the LED of the key to show that my program is on or off, like the Caps Lock key does naturally. I know that I c...
Flagellant asked 11/2, 2010 at 22:44

15

How do I make Caps Lock work like Esc in Mac OS X?
Shastashastra asked 24/9, 2008 at 14:42

3

Solved

I would like a specific example on how to turn caps lock on if it is off. I know how to toggle the key, I have been using this: toolkit.setLockingKeyState(KeyEvent.VK_CAPS_LOCK, Boolean.TRUE); ...
Thanos asked 15/9, 2011 at 17:47

8

Solved

I'm attempting to write a simple programme that displays the current status of the different keylocks, but I'm unable to find a solution as to how to get the current status of them in Python. Thank...
Biconvex asked 29/10, 2012 at 21:15

1

Many posts ask how to map the CAPS LOCK key to ESC. I know how to do that, but when I do, I lose the CAPS LOCK functionality all together because ESC still is mapped to escape. I want to SWAP the e...
Ampulla asked 1/2, 2020 at 18:2

4

Solved

How to implement to detecting and warning users when caps lock is on with (or not) tooltip style in typescript (angular 4.2.2)?? Maybe with some keyup events, or like toUpperCase() in JS.
Swan asked 11/7, 2017 at 12:59

5

Solved

I have a DataGridTemplateColumn with DataTemplate as a PasswordBox. I want to warn user if CapsLock is toggled. private void PasswordBox_PasswordChanged(object sender, RoutedEventArgs e) { if (...
Fluviatile asked 7/7, 2009 at 14:52

31

Solved

How do you tell if caps lock is on using JavaScript? One caveat though: I did google it and the best solution I could find was to attach an onkeypress event to every input, then check each time if...
Senary asked 8/12, 2008 at 6:22

16

I'm using GVIM under Windows. And want to map CAPSLOCK to Ctrl+^ Any way to do this? Btw, I see tons of samples over the web how to swap CAPS and Esc using registry hack, but none of them use VI...
Finsteraarhorn asked 1/2, 2010 at 12:20

7

Solved

I saw the vim wiki tips and it says that in order to remap Esc to CAPS LOCK you have to edit the following windows code: REGEDIT4 [HKEY_CURRENT_USER\Keyboard Layout] "Scancode Map"=hex:00,00,00,00...
Carlock asked 27/1, 2010 at 6:41

4

I wrote a little fetchmail script that checks the remote server and plays an audio file when I have new mail. I also wanted to also light up one of my keyboard lights when the mail was available bu...
Absorption asked 9/10, 2011 at 4:4

3

Solved

I'm apparently not the only one who wants to know (How can I change modifier keys in "System Preferences > Keyboard > Modifier Keys..."). I've tried watching the System Preference...
Delegacy asked 2/6, 2016 at 1:2

2

Solved

Is it possible to check the status of Scroll Lock, Num Lock and Caps Lock on page load of a web page? I've found ways to check after a keypress using JavaScript, but that's not what I'm asking.
Catenary asked 30/1, 2012 at 6:17

2

Solved

CHROME (52): When turning caps lock ON - only keydown is fired (no event in keyUp or keyPress) When turning caps lock OFF - only keyup is fired (no event in keyDown or keyPress) FIREFOX (46): O...
Poss asked 18/8, 2016 at 10:49

3

Solved

Alright, before this gets flagged as a possible duplicate, I've already tried the following code: Toolkit.getDefaultToolkit().getLockingKeyState(KeyEvent.VK_CAPS_LOCK) And it is always returning...
Zimmer asked 18/8, 2012 at 17:42

3

In my research, I've found how to detect capslock when the caps key is pressed. However, I want to know the caps status even in cases when the key is not touched. example: alert(ui.Keyboard.capslo...
Atlantes asked 20/3, 2011 at 21:46

4

So I've been researching solutions for Caps Lock detection for a form, using JavaScript/jQuery. There is a huge thread on stackoverflow offering many solutions. But the only problem is they don't c...
Hazem asked 3/8, 2015 at 16:16

2

Solved

I'm using SendKeys in an automation program for work. I've been plodding along, and am now trying to iron out all the bugs that I've created :-) One of which, is that when I used SendKeys.Send("Te...
Mathewson asked 1/11, 2011 at 3:39

3

Solved

I set my Caps Lock to be a Ctrl in Ubuntu 16.04 using: setxkbmap -option 'caps:ctrl_modifier' But when I change my keyboard from En to Cs, the Caps Lock becomes a Caps Lock again, not a Ctrl. To...
Laroche asked 5/10, 2016 at 15:20

8

Solved

Is there any Qt-built-in method to warn user (with pop-up window) that CapsLock is switched on while password field is active? I am currently using QLineEdit (is it good?) with setEchoMode(QLineEd...
Tuinal asked 3/6, 2010 at 17:29

1

I want to detect if caps lock is active using on focus event in input element but without any press key like the behavior that is having the input password type for IE. For IE when you are focus in...
Judah asked 19/10, 2016 at 16:23

4

Solved

How can I find the state of NumLock, CapsLock and ScrollLock keys in .NET?
Industrialize asked 23/2, 2009 at 11:58

3

Solved

How can I get the caps lock state in Android using a hardware keyboard? In pure Java it can be detected with boolean isOn = Toolkit.getDefaultToolkit().getLockingKeyState(KeyEvent.VK_CAPS_LOCK); ...
Trinatrinal asked 2/3, 2016 at 10:6

© 2022 - 2025 — McMap. All rights reserved.