PDF Creator 2.5 SCripting

Hi,

I'm trying to rename a PDF based on the contents of the PDF using the Run Script option and wondering if there's any documentation on how to use tokens via VBA or if my approach is correct?

My plan is to use VB/VBA to assign the contents of the PDF to string variable, parse the variable to find the data I want for the name and rename the file. I can likely do all of the above easily, but is there a way to assign the value to the token and then use the Add Token option to rename the file?