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?
Disabling main menu
-
binocular222
- Posts: 1423
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
Re: Disabling main menu
Either:
- Hide the menu altogether ::1061
- An Autohotkey script to disable Alt when XYplorer window is active
- Hide the menu altogether ::1061
- An Autohotkey script to disable Alt when XYplorer window is active
Code: Select all
Alt::returnI'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
-
Stef123
Re: Disabling main menu
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.
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.
-
highend
- Posts: 14942
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Disabling main menu
just have to figure out how to restrict it to XY
Code: Select all
#IfWinActive, ahk_class ThunderRT6FormDC
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 66300
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Disabling main menu
Looks like you have set this tweak:Stef123 wrote:Thanks. Already tried 1061 but it doesnt keep ALT from brining it up anyway.
Code: Select all
HideMainMenuToggleByAlt=1FAQ | XY News RSS | XY X
-
binocular222
- Posts: 1423
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
Re: Disabling main menu
@Highend:Notice the pound sign
Code: Select all
Settitlematchmode, 2
#Ifwinactive XYplorer ahk_class ThunderRT6FormDC
Alt::returnI'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
-
Stef123
Re: Disabling main menu
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.
Thanks. Also to bino and highend - your lines did disable ALT in XY, as well as in everything downstream.
XYplorer Beta Club