Drafts 54 introduced a new SelectPrompt scripting object that presents an optimized selection prompt to select from a list of items, with optional symbols and subtitles, and support for searching the list to filter the items.
It uses the same interface as Quick Search and the Command Palette, but makes it generic for any set of items. It fully supports keyboard navigation and selection, so it’s very efficient to use.
I’ve updated two commonly used example actions to use this new UI, if you want to update the versions in your installation, or just see example code to guide you in updating actions of your own:
