User Button Right Click
User Button Right Click
If I add ::load "C:\script.xys","label name" to the on the right click of a user button.
When the button is right button clicked the menu shows the text as given, but if the text is in the left click option the menu/script is executed.
If this a bug or how can I get the ::load bit hidden for a caption or something?
When the button is right button clicked the menu shows the text as given, but if the text is in the left click option the menu/script is executed.
If this a bug or how can I get the ::load bit hidden for a caption or something?
Re: User Button Right Click
If I followed you correctly, make sure you have this tweak set to "1" XYplorer.ini (i.e., search for the text in the ini file and set it to "1" if it's currently "0"). Save the file and exit XY without saving and then restart it.
Code: Select all
CTBNoRClickDefaultCommands=1
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
Re: User Button Right Click
wow, thanks for the quick reply.
that works, although if you want to edit the user button you have to adjust the tweak...
so is this a sort of bug?
that works, although if you want to edit the user button you have to adjust the tweak...
so is this a sort of bug?
Re: User Button Right Click
Ctrl right- click instead of simply right-clicking to get the default "Edit..."
Re: User Button Right Click
another cool tip
thanks..
thanks..
Re: User Button Right Click
What can I say, another hidden treasure
Re: User Button Right Click
I feel like this tweak should probably be promoted to GUI. I spend hours the other day because I could not figure out why one of my installation was doing what it does with this tweak on and the other wasn't. It was only when I started comparing the two ini did I realize this tweak was on and I completely forgot about it. It seems like a very useful tweak and should be probably be on by default?klownboy wrote:If I followed you correctly, make sure you have this tweak set to "1" XYplorer.ini (i.e., search for the text in the ini file and set it to "1" if it's currently "0"). Save the file and exit XY without saving and then restart it.Code: Select all
CTBNoRClickDefaultCommands=1
Re: User Button Right Click
+1 I have to agree with this one. When we have to reply to that many questions concerning a topic (i.e., tweak), it probably should be elevated. Who wouldn't want the tweak especially after using XY a while as long as it's clear they have to use Control-right click to access the edit menu.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
Re: User Button Right Click
I think if it were on by default we'd have more people asking about how to Edit the button than have asked how to bypass the menu, so I disagree.Enternal wrote:It seems like a very useful tweak and should be probably be on by default?
I agree it should be promoted to the GUI, but I'd prefer it become a property of the User Button, just like "Fire click on mousedown".
- This makes it easily discoverable.
- Puts it in the more relevant place rather than lost in the Configuration dialog.
- It can have a tooltip to also make the Ctrl+Right-Click discoverable.
- Gives us something between All or Nothing - enable it for only some User Buttons.
Re: User Button Right Click
I do use the tweak for a simple reason that I use the right click pop up menu more often than editing them. Which is only a Ctrl away
Re: User Button Right Click
Good idea, though it's probably more work on Don's part. If it's elevated it will have to be clearly stated that access to the CTB's main edit menu will be by control-right click. In many cases I have menus set as right click of a CTB and the normal left click set as the default or most frequently used action on the right click menu.TheQwerty wrote:I agree it should be promoted to the GUI, but I'd prefer it become a property of the User Button...
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
Re: User Button Right Click
+100Filehero wrote:+1 for elevation
+10 for TheQuerty
Yeah completely agree.