Disable LAlt key underlined menu selection in Windows programs (Photoshop etc.)

D

dryn07

You can use any software if it supports AutoHotkey (.ahk) scripts. I use FastKeys so I show the solution in that. I will write it detailed so if you don't even know what autohotkey is, doesn't matter.


----------------------------------------------------------------------------------

// -------------------- If you know what you are doing -------------------- //

----------------------------------------------------------------------------------

just paste one of these in your script:


Alt::Return


or if you want to disable LAlt Hold too


~LAlt::vk07


or


~LAlt::

~RAlt::

Send {Blind}{vk07}

return



---------------------------------------------------------------------------------------

// --------------------If you don't know what you are doing -------------------- //

---------------------------------------------------------------------------------------

1. download fastkeys (or autohotkey) (you can download portable versions too and use them without installation)


2. make a file with .ahk extension in %fastkeys install folder%\Documents\Scripts (just make a .txt file and rename .txt to .ahk, for example disablealt.ahk. If you don't see file extensions, you can enable it in file explorer's View ribbon menu


3. open a text editor (notepad, notepad++) and open the created .ahk file


4. paste this code:


Alt::Return


or if you want to disable LAlt Hold too


~LAlt::vk07


or


~LAlt::

~RAlt::

Send {Blind}{vk07}

return


5. save it, run and open fastkeys -> go to Shortcuts -> create new with the + symbol -> Change the button on the top left to Command -> paste this to the text field:


%dir%\disablealt.ahk


6. run the script with the shortcut you gave. You can see the script running by looking the duplicated fastkeys icon on the windows tray. There is two ways to make it stop: close the mentioned new script icon with mouse right click, or you can add this code to the .ahk file and just enable/disable the script if you don't want to use it:


^!p::Pause ;will pause if you press Ctrl+Shift+p


You can use any shortcut where:

^ = Ctrl
! = Shift
+ = Alt


or just check autohotkey documentation or forum for more combinations :)


There are other codes to try but for me this was the only one that worked.


I hope this helped, have a nice day.

Continue reading...
 
Back
Top Bottom