Skip to content

9yz/bridge-scripts

Repository files navigation

Bridge Scripts

Textsubs version Static Badge contributions welcome recent commits Textsubs version enbyware

A collection of useful scripts I've made for Adobe Bridge. This readme contains basic information on the scripts - for more comprehensive information, see the wiki.

Scripts

textSubstitutions

Inspired by the PhotoMechanic's code replacements feature, this lets you designate special codes to be replaced by any kind of text! For example, typing [[tTime]] in the description of an image then running this tool will replace it with the timestamp the photo was created. [[mFileName]] will be replaced with the file's name. In addition to over 90 special codes that retrieve file metadata and perform complex behaviors, you can also create your own substitutions.

Text Substitutions work in all metadata fields in Bridge's IPTC Core panel as well as in the filename.

Usage

  1. Edit one of the above properties of any file to include a code.
  2. Run Text Substitutions from the right-click (context) or Tools menu.
Creating Custom Substitutions

After installing textSubstitutions.jsx as described below, add ts_customSubs.txt to the same folder. The file contains information on the format for custom substitutions. Also see ts_folderAssignments.txt and ts_hotCodes.txt for examples of complex behaviours using functional substitutions.

copyMetadata

A simple interface for copying selected metadata fields between files. These fields can be copied:

  • Headline
  • Description
  • Keywords
  • Alt Text (Alt Text & Extended Description)
  • Location (Sublocation, City, State, Country, and Country Code)
  • Title

Usage:

  1. Select a file.
  2. Right click > Copy Property... OR Tools > Copy Property...
  3. Select the fields you would like to be copied
  4. Select the files you would like to paste to
  5. Right click > Paste Property OR Tools > Paste Property. You have the option of Overwriting the existing values or Appending, which appends Keywords but overwrites other fields.

scratchPad

Opens a simple, dockable text box for taking notes. Contents are not saved on program close.

Usage

  1. Select Window > Scratch Pad
  2. Move the newly-created window to the location of your choice.

scriptFramework

A simple example script, intended for others to learn from and build upon.

Installation

  1. Go to Preferences and select the "Startup Scripts" tab.
  2. Click "Reveal Scripts in Explorer"
  3. Place the script file in the folder that opens
  4. Restart Bridge
  5. When prompted upon restarting, choose to enable the script.
  6. If the script is not enabled, go to Preferences > Startup Scripts and enable the script, then restart Bridge