Processing Text Tokens inside a Prompt

I'm trying to use text tokens so that my dropdown menu can be dynamically populated.

Say that inside "/Documents/Folders/" there are a number of folders. Here I call them, "Arrows", "Logos", and "Windows". I want my prompt to dynamically adjust in case I add more folders to "/Documents/Folders/".

But what results instead is unprocessed text:


I'd prefer if it listed those 3 items in a dropdown. Any suggestions?

When you use a KM Variable for the default items of a popup, you must enter a bar "|" first, like this:

BTW, although you can often get away with entering only the KM Variable name between the %, it is risky. You need to enter
%Variable%MyVarName% to avoid conflicts with other tokens.

Great, that seemed to work, thanks!