jdavidbakr
New member
I am stepping into the foray of ToasterScript, and the first script I want to build is a one that automatically renders a series of CG pages using a template in VT-Edit. I.e, I have 10 pages that were built from the same template, and I want the user to be able to run the script, which does the following:
1. Ask the user for the first file in the CG pages
2. Open a VT-Edit template file
3. For each .png file in the CG pages
a. Load the page into the project, using the inherit propery
b. Render the page
I haven't yet tried #1, and am stumped on #2. I have the following command in my script:
Open("E:\\VT Files\\...\\Template File.VT-Edit")
When executed, I get "Template File" in the little box telling me what file is open, but the file is empty. Further, if I do a "Save" on the file, I get an error that there was an error writing the file. I know my filename is correct, because if I change it then the file that was in there stays there. Help?
1. Ask the user for the first file in the CG pages
2. Open a VT-Edit template file
3. For each .png file in the CG pages
a. Load the page into the project, using the inherit propery
b. Render the page
I haven't yet tried #1, and am stumped on #2. I have the following command in my script:
Open("E:\\VT Files\\...\\Template File.VT-Edit")
When executed, I get "Template File" in the little box telling me what file is open, but the file is empty. Further, if I do a "Save" on the file, I get an error that there was an error writing the file. I know my filename is correct, because if I change it then the file that was in there stays there. Help?