Autohotkey script to disable ALT key

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fantasticone
    D7 Elite Keymasher
    • Aug 2006
    • 6003

    #1

    Autohotkey script to disable ALT key

    Bane of my existence, all methods I tried from googling did not work. Anyone know a script that prevents the press from registering period?
  • Walrusizer
    D7 Elite Keymasher
    • Aug 2014
    • 1080

    #2
    Re: Autohotkey script to disable ALT key

    yo fuck the alt key i agree
    is expressing my inability to create a creative signature an act of creativity in and of itself?

    Comment

    • Hakulyte
      the Haku
      • Jul 2005
      • 4539

      #3
      Re: Autohotkey script to disable ALT key

      That's for Windows Key:
      Code:
      ~LWin Up:: 
      ~RWin Up::
      That's for Alt Key:
      Code:
      LAlt::return
      RAlt::return
      Edit: Note that if you hit ctrl+alt or anything else that is not "alt" alone, alt will still work. You're stuck adding every potential combinations one by one. It should be fine if you're slipping from letters into "Alt" accidentally etc.

      e.g:

      Code:
      CapsLock::      ; CapsLock
      +CapsLock::	; Shift+CapsLock
      !CapsLock::	; Alt+CapsLock
      ^CapsLock::     ; Ctrl+CapsLock
      #CapsLock::	; Win+CapsLock
      ^!CapsLock::	; Ctrl+Alt+CapsLock
      ^!#CapsLock::	; Ctrl+Alt+Win+CapsLock
      That would be what it would look like for CapsLock with multiple possibilities.

      in b4 headache.
      Last edited by Hakulyte; 12-23-2016, 05:12 PM. Reason: Mina/gold stinger saves the day

      Comment

      • Dinglesberry
        longing
        • Dec 2007
        • 2679

        #4
        Re: Autohotkey script to disable ALT key

        I use a program called sharpkeys to disable Ctrl, alt, windows key etc while I'm playing, this is better thought since I already have AHK since I'm a runescape nerd

        Ctrl + o is the bane of my existence

        Comment

        • gold stinger
          Signature Extraordinare~~
          Event Staff
          Game Manager
          FFR Simfile Author
          FFR Music Producer
          • Jan 2007
          • 6428

          #5
          Re: Autohotkey script to disable ALT key

          If you're looking for an AutoHotKey script to disable the ALT keys on your keyboard, the correct key setup is

          RAlt::r
          LAlt::r

          Left alt & Right alt becomes 'R' key inputs. I use thko as my setup so I never have an issue with the alt key again in that regard. If you want to disable windows keys as well, Hakulyte's post is correct. I have a keyboard that specially disables windows key for me though so I've never used it myself.

          I don't think it's ever worked with having no output for a key in Autohotkey scripts, but just make the key output some key that you don't ever use and has no affect on your gameplay.
          Last edited by gold stinger; 12-23-2016, 09:00 AM.
          Originally posted by YoshL
          butts.



          - Tosh 2014






          Comment

          • MinaciousGrace
            FFR Player
            • Dec 2007
            • 4278

            #6
            Re: Autohotkey script to disable ALT key

            dont leave the output empty

            LAlt::return

            Comment

            • Hakulyte
              the Haku
              • Jul 2005
              • 4539

              #7
              Re: Autohotkey script to disable ALT key

              I didn't even realize my alt script didn't work until you two mentioned it. Good find. xd

              Comment

              Working...