somnuz

joined 1 year ago
[–] somnuz@lemm.ee 9 points 6 months ago* (last edited 6 months ago)

Hmmm.. Mostly a full bottle of water, rest of the space is for my phone and glasses when I go to sleep, in the morning the same space can be reused for a mug full of coffee.

[–] somnuz@lemm.ee 2 points 6 months ago

Is there any way to add it to App Library without adding it to the home screen? If there is, I don’t need the app at all, probably.

[–] somnuz@lemm.ee 3 points 6 months ago (8 children)

Yeah, I have a tab opened to check it out too, do they have any ios app?

[–] somnuz@lemm.ee 1 points 6 months ago

The never ending, balancing act between everydayness, health and self-actualization.

[–] somnuz@lemm.ee 9 points 6 months ago* (last edited 6 months ago)

And here, right in the middle of the wild internet jungle vastness, we can observe a very interesting, quite uncommon specimen. They are prepared well enough for interactions and don’t seek a vent point for illusory vengeances or endless technicalities on every possible occasion; their skillful bag of tricks contains open mindedness and respectful responses. They can commit their precious energy to this hard process of making the day of the entire herd easier and more positive. Look at them go!

[–] somnuz@lemm.ee 2 points 6 months ago

Your idea to use AHK script is probably the best and least intrusive. You sit down, run the script, whatever you need can be in it, you can actually really tune your input experience with some AutoHotKey magic. I catch myself adding a few more lines every year as new ideas come.

Just remember to unload the script when you are ending your work and the next person won’t even know about it.

[–] somnuz@lemm.ee 2 points 6 months ago (2 children)

Okay, all makes sense. When you are using the keyboard a lot, your comfort is most important. The worst part about Caps Lock is that it is more embedded into the system inner-workings, as for example — it is used for certain crucial shortcuts, especially when using Chinese language.

[–] somnuz@lemm.ee 2 points 6 months ago (1 children)

It is just a comment for the InstallKeybdHook command just bellow it, as it is crucial for this magical code (that I don’t fully grasp yet) to work.

But it does.

[–] somnuz@lemm.ee 2 points 6 months ago* (last edited 6 months ago) (3 children)

Okay, so make a script, name it whatever you feel like and paste this:

; The keyboard hook must be installed.
InstallKeybdHook
SendSuppressedKeyUp(key) {
    DllCall("keybd_event"
        , "char", GetKeyVK(key)
        , "char", GetKeySC(key)
        , "uint", KEYEVENTF_KEYUP := 0x2
        , "uptr", KEY_BLOCK_THIS := 0xFFC3D450)
}

; Disable Alt+key shortcuts for the IME.
~LAlt::SendSuppressedKeyUp "LAlt"

; Test hotkey:
!CapsLock::MsgBox A_ThisHotkey

; Remap CapsLock to LCtrl in a way compatible with IME.
*CapsLock::
{
    Send "{Blind}{LCtrl DownR}"
    SendSuppressedKeyUp "LCtrl"
}
*CapsLock up::
{
    Send "{Blind}{LCtrl Up}"
} 

Save it, run it and you should be good to go.

edit: This is V2, just in case.

[–] somnuz@lemm.ee 2 points 6 months ago* (last edited 6 months ago)

I was asking because it is actually a problem for two reasons, one is that capslock has more states than other keys, plus it is more complicated to tinker with via AutoHotKey, they even documented it nicely ~~buuut.. the official method did not work for me — I just tested it.~~

~~I did it in a hurry so there might be “me” problem somewhere too.~~

Okay, it works.

[–] somnuz@lemm.ee 1 points 6 months ago (7 children)

Sorry for asking but is there any reason why caps lock? Because.. You are a lucky winner of “choosing one of the most problematic keys to remap” award..

[–] somnuz@lemm.ee 3 points 6 months ago

“Elementary, my dear Watson..”

view more: ‹ prev next ›