Solved

Option to append file name or custom string to graphics "save as" function?


Userlevel 3
Badge

Is there a configuration setting to join a custom string or the file name to the default graphics name that is generated when using the “save as” button on the graphic window? For example, if I am working with a file named FILE-0001, and I save the OPD Fan, the default file name will be OPDFan.jpg. I would like it be something like, OPDFan-FILE-0001.jpg or FILE-0001-OPDFan.jpg.

I can imagine writing a ZPL script to accomplish this too.

(edited for spelling)

icon

Best answer by Sandrine Auriol 9 June 2022, 11:35

View original

2 replies

Userlevel 6
Badge +2

Hi Michael

Yes ZPL can be used to do that. 

These keywords that can help are: COPYFILE and $FILENAME. (See in the help files for more details)

COPYFILE sourcefilename, newfilename

I have used in the past a free software called LUPAS RENAME to rename a group of files or add some prefix. I don’t know if that can be useful, but I thought I’ll mention it.

Userlevel 3
Badge

Thank you Sandrine. The ZPL recommendation sounds great and I’ll look into it! For the non ZPL savvy, a configuration option could still be useful.

Reply