# Artwork to folder.jpg

This function saves the default artwork (the first artwork item), of every selected file to a file named folder.jpg in the file's containing folder. Note that the operation is performed at most once per folder.

This function writes a file named folder.jpg to the folder containing a file. Note that the artwork source is always the first artwork item in a file.

To automatically issue a search request for missing artwork, select a search template. To automatically search for newer artwork if the existing artwork is smaller than a certain size, specify a size. 0 implies do not test. The search template can be chosen from the popup list or manually entered. The only reason to manually enter the template name is if you wish to specify the name at runtime. The template field may contain any of the escape sequences described in Escape Sequences.

When doing a size test the default method is to test if either of an artwork item's width or height is less than the specified size. If you wish the test to fail only if both the width and height are less than the specified size, select the w & h option.

If a search is issued, the action processing will be paused and the Action Pending dialog will be presented. If you find artwork you like, you can drag it in to the artwork tab and continue the action processing. Alternately, you can cancel the action step or skip the step. If the search was triggered due to the size option, remember to make any new artwork added the first in the list before you continue.

When not issuing a search request, the Silent option is available. When Silent is enabled, no errors are displayed and the action test state will be set to false if any errors occurred, otherwise true.

While implemented to be very efficient in stepwise mode, this function is valid in all execution contexts.