Conditional Hamburger Entry Display

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
GreetingsFromPoland
Posts: 284
Joined: 29 Sep 2022 14:20
Location: Win10 @125%

Conditional Hamburger Entry Display

Post by GreetingsFromPoland »

Is it possible to only have a Hamburger menu entry only show for specified folders ? For example, I have this entry :

Code: Select all

::Copy Recipe Link;load "CopyRecipeLink.xys";
I would only like to have it displayed in the Hamburger if :

Code: Select all

C:\Data\Documents\Recipes
or a subfolder within is active in the current pane.

If not possible in Hamburger, maybe I add something to the script that checks the root path and if it doesn't match, exit the script.

highend
Posts: 14956
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Conditional Hamburger Entry Display

Post by highend »

Not possible
One of my scripts helped you out? Please donate via Paypal

eil
Posts: 1875
Joined: 13 Jan 2011 19:44

Re: Conditional Hamburger Entry Display

Post by eil »

GreetingsFromPoland wrote: 06 Nov 2022 11:45 Is it possible to only have a Hamburger menu entry only show for specified folders ? For example, I have this entry :
You can't make it check and show right away(when you click a Hamburger), 'cause this button can only make menu not lauch some function by clicking. But you can add a line in menu that launches a script, which will check path and form new menu depending of results.
That is if you concerned only about Hamburger menu, 'cause you can make a script-menu of your own, that changes depending of location, and assign it to CEA "double-click/middle-click on breadcrumb bar".
Win 7 SP1 x64 100% 1366x768|1900x1080

Post Reply