Keywords from CSV

JavaScript for Adobe Photoshop
Latest update 5/10/2019, version 2.0

The script reads spreadsheet data for file names and keywords, searches a specified folder for the files, and updates the keywords.

  • Update unique keywords for each file
  • Add, replace, or remove keywords
  • Process any number of images
  • Include subfolders
  • Match name exactly or without extension
Keywords from CSV screen
Download
Keywords from CSV

You decide. Reward the author an
amount the solution is worth to you.

Instructions for use

The interface has three sections: Data file, Target folder, and 1Options. Select the data file and target folder, enable desired options, and click the OK button to begin. A progress bar is displayed while processing. When complete, the number of images processed is reported and a log file is written at the location of the data file.

Section 1: Data file (CSV or tab-delimited TXT)

File — select the CSV or tab-delimited TXT data file.

The data file is a spreadsheet of two columns and any number of rows. The layout of the spreadsheet must include a column head 'file' and a column head 'keywords'. Under the column 'file' are rows of the target file names. If not full file names, rather base names (file name without extension), be sure to check Match file name only, without extension. Under the column 'keywords' are rows of keywords associated with each file. Multiple keywords may be delimited with a comma or a semicolon.

Section 2: Target folder

Folder — select the folder containing the images to search through. Any that match those listed in 'file' column of the spreadsheet data are processed.

Match file name only, without extension — enable to match any file extension, or if the spreadsheet data lists the base name (file name without extension). When enabled, full file names with differing extension match and are processed.

Include subfolders — files within subfolders are also processed, if a matching entry is found in the 'file' column of the spreadsheet data.

Section 3: Options

Add keywords — preserves current keywords and appends keywords from the spreadsheet data.

Replace keywords — current keywords are removed and keywords from the spreadsheet data are added.

Remove keywords — keywords matching those listed in the spreadsheet data are removed.

Download
Keywords from CSV

License details included in download

For help installing scripts, see How to Install and Use Scripts in Adobe Creative Cloud Applications.

IMPORTANT: by downloading the script you agree that the software is provided without any warranty, express or implied. USE AT YOUR OWN RISK. Always make backups of important data.

CHANGE LOG

Version 2.0 (190510)

  1. Revise logging.
  2. Custom alert/notify window with open log button.
  3. Enhance cancel processing.
  4. Restore altered app preferences on completion.
  5. Remove informative log verbiage from UI.
  6. Miscellaneous.

Version 19.4.15 (1.0)

  1. Initial release.