Page 1 of 1
Disabling main menu
Posted: 10 Mar 2015 10:36
by Stef123
Is there a way to NOT bring up the main menu when pressing ALT?
I know it's a Windows thing, but maybe there is a tweak to prevent XY from responding to it?
Re: Disabling main menu
Posted: 10 Mar 2015 10:44
by binocular222
Either:
- Hide the menu altogether ::1061
- An Autohotkey script to disable Alt when XYplorer window is active
Re: Disabling main menu
Posted: 10 Mar 2015 10:50
by Stef123
Thanks. Already tried 1061 but it doesnt keep ALT from brining it up anyway.
AutoHotKey sounds good, just have to figure out how to restrict it to XY, I still need ALT for other programs that don't feature the many alternatives XY has to offer.
Re: Disabling main menu
Posted: 10 Mar 2015 11:02
by highend
just have to figure out how to restrict it to XY
Code: Select all
#IfWinActive, ahk_class ThunderRT6FormDC
Re: Disabling main menu
Posted: 10 Mar 2015 11:03
by admin
Stef123 wrote:Thanks. Already tried 1061 but it doesnt keep ALT from brining it up anyway.
Looks like you have set this tweak:
Re: Disabling main menu
Posted: 10 Mar 2015 11:08
by binocular222
@Highend:
Code: Select all
Settitlematchmode, 2
#Ifwinactive XYplorer ahk_class ThunderRT6FormDC
Alt::return
Notice the pound sign
Re: Disabling main menu
Posted: 10 Mar 2015 11:20
by Stef123
Exactly the kind of tweak I hoped for, set it to zero and no more accidental ALT-presses. GREAT.
Thanks. Also to bino and highend - your lines did disable ALT in XY, as well as in everything downstream.

So I placed it at the very end of my .ahk and that did the trick, but got me wondering anyway. Also about IfWinActive vs #Ifwinactive - definitely takes more help-reading on my part.