I’ll rewrite my old macro tomorrow, but here is a working minimal example that solves the initial question of this thread:
- It has a prepopulated (HTML) dropdown menu
- It lets you add items to the menu via a Choose Folder dialog
- It remembers the items and the last selection
The js code is mostly stolen from this thread. So, credits go to @iNik, @peternlewis, @ComplexPoint, @JMichaelTX and others.
[Sample] HTML Prompt with Customizable Menu.kmmacros (11.5 KB)