hoppfrosch / WindowPadX

Enhancements on original WindowPad (by Lexikos)
http://hoppfrosch.github.com/WindowPadX
224 stars 42 forks source link

Q) capslock is really annoying #5

Open av930 opened 12 years ago

av930 commented 12 years ago

Hello I am JK who really love WindowPadX. nowadays I have been being annoyed by caps-lock. I use laptop for every job. so I decide to use the key "caps-lock combination" for windowpadX.

Frequently I push caps-lock combination to try to move windows, but it end up changing real caps-lock. therefore I want to change this functionality, when I push caps-lock only over 1sec, it will be real caps-lock, otherwise, I mean under 1sec, it will be nothing by itself, but with other key(caps-lock combination) it will be "Window moving". How can I do it? it is possible?

hoppfrosch commented 12 years ago

Yes it is possible with AHK - unless WindowPadX does not support it yet(?).

Skrommel provided a script, which does something similar:

Hold down caps lock for 0.4 sec to toggle caps lock on or off. Hold for 0.9 sec to show a menu that converts selected text to UPPER CASE, lower case, Title Case or iNVERT cASE.

Don't know by myself at the moment how to integrate this into WindowPadX.

av930 commented 11 years ago

Hello again hoppfrosch. I tried to do that during about 1 or 2 days and then finally failed, because WindowPadX is so difficult to understand it and put some new code on it. Now after 7 months, still I have been annoyed by this problem.

from seoul, korea

denolfe commented 9 years ago

Is it possible to simply disable turning on CapsLock within WindowPadX? I think this would be the ideal solution, then you could use a different script to turn it on in your preferred way.

Where would be the best place to do this in the code? I can take a look if pointed in the right direction.

I tried setting the CapsLockState to AlwaysOff, which didn't work. I also tried adding a CapsLock hotkey to Return in the .ini file, which didn't work either.

thracx commented 8 years ago

I had used AHK for a few months to disable my CapsLock key, but found it to be less-than-reliable. Instead, I would recommend using KeyTweak (or a simple registry change) to remap the CapsLock.

I remap CapsLock to RWin, then have AHK provide a combo like Ctrl+RWin to toggle the actual CapsLock state (although I've found it is better to just use shift for the rare occasion where CAPS is needed).

The main downside to this method is that it's a system-wide change, so it won't work if you are not an Administrator or if you share the machine with users who insist on needing the CAPS key - otherwise, the Windows key remap feature is a much better method for dealing with the obsolete CapsLock key!

av930 commented 8 years ago

Thanks, beyond this issue, I also agree WinPadx is less reliable. Sometimes my pc become slower, so I can handle even mouse movement, in this case, I found if I kill the Windpadx, it will be normal. Now i am back to the original Winpad. Thanks anyway.

denolfe commented 8 years ago

@thracx I have no issues with AHK's reliability in remapping CapsLock (this is what i use). I simply wanted to use CapsLock in WindowPadX without it interfering with my other scripts. I now just use a shortcut that doesn't involve CapsLock.