How to build nested/drill-down options?

Hi friends, trying my hand with snippets and want to build a snippet that shows one option in the popup menu, and when clicked, shows nested options.

In the below case, when I select a text (title AZ), it should show up two more options (AZS and AZO; and every other option in the pop disappears). I want to do it this way so I can group my snippets into categories.

# popclip
name: AZ
icon: AZ
actions:
 - title: AZS
   icon: AZS
   URL: https://www.amazon.com/s?k=***
 - title: AZO
   icon: AZO
   URL: https://www.amazon.com/gp/your-account/order-history?search=***

PS: I remember I saw a snippet/extension that showed nested/drilldown options but can’t seem to find out which one it was. Oare maybe my mind is hallucinating right now lol

2 Likes

There’s not yet any way to do nested/drill-down/submenu stuff in PopClip. But I want to add this soon.

3 Likes

bumping up this much needed feature again. PopClip has become an integral part of my workflow :slightly_smiling_face:

1 Like

How did you solve the question above?
I would like to implement the same functionality.

I just solved it using modifier keys for now. Holding ⌥ opens the second link.

I keep getting so many ideas to move so many of my workflows to PopClip but they are limited by the existing functionality. @nick we are awaiting the nested options feature :smile:

1 Like