Thanx. I had already tried testing for %LastWindowID% and I couldn't get it to work.
I think the reason is explained by Peter here.
The window creation has to be asynchronous in order to test for LastWindowID. But, because the interval between calls is so brief (less than 0.5 sec), the window hasn't had a chance to be created yet. So by the time the next instance of the macro is called, the previous instance hasn't obtained a window ID yet and the IF condition fails.
BTW, my Custom HTML Prompt is a transparent, frameless, HUD with no title, so I can't check for a title. The HUD is just supposed to pop up in the corner of the display whenever the mixer's Main audio level changes and display its value briefly then go away.