Someone HAS thought of that before, in fact-- I made one a long time ago. I just recently ported it to VXA for my own use, but mine goes into the message box.
Anyway, great post, I'm glad it was made easier for ya! Also, that's cool-- VXA has a script for variables option? That will be super useful!
Looking forward to this project.