I have written a ZPL macro that aims to save the text output of Wavefront Map. I expected the SAVEWINDOW keyword to perform this task, but it throws the following error when the macro is executed:
ERROR in SAVEWINDOW: Can't copy window 1 to C:/....txt
The macro successfully saves files for Text Viewer windows, but not for Analysis windows which have a Graph tab and a Text tab. Is SAVEWINDOW designed to work with Analysis windows? Is there an alternative method that could be used to achieve the same goal?
ERROR in SAVEWINDOW: Can't copy window 1 to C:/....txt
The macro successfully saves files for Text Viewer windows, but not for Analysis windows which have a Graph tab and a Text tab. Is SAVEWINDOW designed to work with Analysis windows? Is there an alternative method that could be used to achieve the same goal?
Page 1 / 1
Problem solved. I had forgotten to include an UPDATE ALL command in the FOR loop that contained the SAVEWINDOW command.
Hello all,
How can we use the array in the full path of the file to save using the SAVEWINDOW command in macros? It not taking array as an array, it is saving the data with the file name as an array vector only.
I am attaching the example, please have a look.
SAVEWINDOW 4, 'E:\.........\x(i).TXT', where x(i) is an array but the file is not saving with the value of x(i). It's saving with the name x(i) itself.
Can anybody please help?
Best and Regards,
Faheem
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.