I have similar suggestion/wish with this topic viewtopic.php?f=5&t=5681
but if possible, middle click will execute another script (it own script),instead of execute right click script
Right click on toolbar button open up context menu instead of directly execute the script immediately ,which cause a bit incovenient
if we have option like middle click which directly execute the script like left click, i think it would be more convenient
Thanks
Middle click toolbar button to execute it own script?
Re: Middle click toolbar button to execute it own script?
get "Trigger", [mode=mousebtn]
mousebtn: Returns the mouse button that triggered a script. Returned values:
None = 0
LeftClick = 1
RightClick = 2
MiddleClick = 4 (planned)
One of my scripts helped you out? Please donate via Paypal
Re: Middle click toolbar button to execute it own script?
Since you say you have a context menu come up on a right click of a CTB, you need to set this tweak:It will allow you to set the right mouse button of a CTB to execute a command or execute a script directly or bring up a menu without the context menu displaying.
Instructions on how to apply the tweak are available here: http://www.xyplorer.com/faq-topic.php?id=tweak
Code: Select all
CTBNoRClickDefaultCommands=1
Instructions on how to apply the tweak are available here: http://www.xyplorer.com/faq-topic.php?id=tweak
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
Re: Middle click toolbar button to execute it own script?
Is there any possibility this
(planned)feature will/could get implemented in the near term? I am just referencing the basic SC
get("trigger") == 4;
plan being fulfilled, not going to the extent of adding input fields etc. to the edit userbutton dialog, although that would be useful, alternatively if there is no chance it will happen imminently it may be time to remove the (planned) text from the help file. -
- Site Admin
- Posts: 60585
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Middle click toolbar button to execute it own script?
I'll add it to the next beta.
The December flood of bugs set me back a little. I'm catching up now.
The December flood of bugs set me back a little. I'm catching up now.
FAQ | XY News RSS | XY Twitter
Re: Middle click toolbar button to execute it own script?
Oh wow, you even added it to the GUI, cool.
Re: Middle click toolbar button to execute it own script?
I just noticed that snippet for middle click works via GUI, but when done via SC the middle button is missing.
-
- Site Admin
- Posts: 60585
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Middle click toolbar button to execute it own script?
Ah yes, next beta.
FAQ | XY News RSS | XY Twitter