• 4 Posts
  • 31 Comments
Joined 2 years ago
cake
Cake day: July 5th, 2023

help-circle









  • 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.




  • 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.eetoProgrammer Humor@programming.devIt's not DNS
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    1 year ago

    Same unfortunately goes for a big chunk of the law on a global scale… Constant progress, new possibilities and technologies, changes in general are really outpacing some dusted and constantly abused solutions. Every second goes by and any “somehow still holding” relic is under more pressure. As a species we can have some really great ideas but the long-term planning or future-proofing is still not our strongest suit.


  • somnuz@lemm.eetoNew Communities@lemmy.worldAbrosexual - Lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 year ago

    I am really quite torn on this one… In my language the definition of sexuality boils down to something (both intuitively felt and expressed) that changes over time with ones self awareness, current needs, state of being, moods and feelings…

    So… this just feels like a pleonasm from my perspective. Which wouldn’t be a problem at all but it kinda undermines the value of the word sexuality in itself — as something well defined or constant when clearly by definition is not at all…

    I am guessing that this word is created and meaningful for people, groups or nations where sexuality as a word is being very poorly treated or even in some ways censored / taboo?

    Can anyone explain?


  • I was doing it late night / early morning so I assumed it was a “me issue” but if there are more situations like this, I guess, just instances logos won’t help — this might add some visual clutter.

    Maybe, no list with some default choices and definitely no automatic selection on one of them, but an empty field — empty field always gives a strong signal that there is something missing…

    Oh, and the toast notification says something like “wrong username or password” — so I didn’t even check the instance until like 7th try. This could get a little touch up too, just in case.