Publish as PDF using CorelDraw Page Name

I am using CorelDraw 2023.  I have a 214 page document that has variable data on each page.  I need to export each page as a separate PDF file using the Coreldraw page name as the file name.  I have read the thread below but that script is not working for me.  I am experiencing the same errors that others have quoted.