Skip to main content
Solved

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

  • June 7, 2022
  • 2 replies
  • 88 views

Michael.Young
Ultraviolet
Forum|alt.badge.img+1

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)

Best answer by Sandrine Auriol

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.

2 replies

Forum|alt.badge.img+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.


Michael.Young
Ultraviolet
Forum|alt.badge.img+1
  • Author
  • Ultraviolet
  • June 9, 2022

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.