Make parent nodes in SC popupnested clickable
Posted: 27 Sep 2019 19:06
Would it be possible to make the parent nodes of SC popupnested also clickable?
eg:
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:
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.
eg:
Code: Select all
text popupnested("Top1| Sub1a| Sub1b| Sub2a| Sub2b|Top2");eg:
Code: Select all
text popupnested("Top1| Sub1a| Sub1b;data| Sub2a| Sub2b|Top2");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.