Skip to main content
3-Newcomer
July 30, 2025
Question

Would like to automate execution of Mathcad worksheet and saving to PDF file

  • July 30, 2025
  • 1 reply
  • 235 views

I created a worksheet in Mathcad PRIME version 10 that reads data from a text file and creates several graphs.  I have 100 text files to read and they are all numbered sequentially (e.g., "file#.txt").  The file that is read is controlled by a variable in my Mathcad worksheet (in conjunction with concat() and num2str() functions).  Currently I am manually changing the variable in the worksheet that controls the file that is read in, refreshing the worksheet, and then saving the file as a PDF (and manually typing in the desired name of the PDF file).  Is there a way to automate this so I don't have to manually change the variable 100 times and manually type the desired name for the PDF file?

1 reply

24-Ruby III
July 31, 2025

Hi,

if you know a little programming, then you can use AutoIT.