How do i get mathcad to output text data files
I have a complex design program written in Mathcad 14 (15). I create 3 HTML formatted outputs - each output is stored in a variable. In Mathcad 14/15 I pass these variables along with a user chosen filename to a scriptable button. The script then takes the data and writes out the 3 HTML formatted files to the hard drive, appending a time stamp to the HTML and adding an extension to the selected file names. Works great!
Now the problem is that Prime 3 no longer supports the scriptable buttons and the read/write functions in mathcad will only let one write out matrices of numbers - they will not write out a string variable. I have tried to work around the problem by creating an excel component, passing in the data into cells and then adding a button to the excel component that when clicked executes a VBscript macro. The issue is that Prime 3 hangs up and does not return to Mathcad with the time stamp that lets me know the files were written out. In fact any excel component that executes VBscript ( and I have 4 in my document) will not return the result to mathcad - they just hang up - even though it looks like the macro has executed.
Is there any way that mathcad can have a built in write function that writes out string data to a file that does not already exist on the hard drive?
FRUSTRATED!


