@JMichaelTX, how are you?
I got your script and macro to work here. Nicely done, thank you.
I have been trying to change it to fit my needs without success. I have an Applescript that extracts information from DEVONthink and formats it into an HTML list (it is a list of links, basically). I would like to use the custom HTML prompt to display the list. However, I could not find a way to simply make it display whatever text I have stored in another variable. I have read, of course, the wiki section related to this; still, no joy. Whenever I edit the HTML provided in your example, nothing comes up from the variables.
Could you perhaps point me in the right direction here?
Like I said, I have a HTML list and all I want to do is keep the window open displaying it.