Page 1 of 1

Make parent nodes in SC popupnested clickable

Posted: 27 Sep 2019 19:06
by jaywalker32
Would it be possible to make the parent nodes of SC popupnested also clickable?

eg:

Code: Select all

text popupnested("Top1| Sub1a| Sub1b|  Sub2a|  Sub2b|Top2");
Top1 and Sub1b would also be clickable (currently they're not). Ideally made clickable on an individual basis based on whether it has a [data] parameter

eg:

Code: Select all

text popupnested("Top1| Sub1a| Sub1b;data|  Sub2a|  Sub2b|Top2");
Sub1b is clickable (because it has a data value), but Top1 is non-clickable (as it is currently).

Reasoning
In one of my cases, I am building a script that pops up a nested menu of my fav folders. But I can always only click on lowest level child folder, never on a parent folder. I can do a workaround that adds a [Parent] node, but I think it would be cleaner if the parent is clickable.

In general, it would be useful for executing a command that is of a general relationship to its sub nodes.

Re: Make parent nodes in SC popupnested clickable

Posted: 28 Sep 2019 09:07
by admin
AFAIK not possible in menus.