Skip to main content
Inspiring
November 26, 2024
Answered

New Script: Text Substitutions/Code Replacements

  • November 26, 2024
  • 2 replies
  • 898 views

Hi all!

 

I wanted to share a script I've been working on - Text Substitutions! Inspired by PhotoMechanic's Code Replacements feature, this lets you add substitution [[targets]] to your metadata, and then have them replaced by any kind of text! About 50 substitutions are built in - letting you quickly swap in other metadata fields like the creation time, credit line, and location - and you can also create your own substitutions.

 

You can find the script on Adobe Exchange for $5/month, or for free in my bridge-scripts github repo (the two versions are identical). Detailed information about how to use the program and its various features can be found on the wiki.

 

This is still in development and it's based on my workflow, so if anyone has any suggestions I'd be happy to hear them out!

Correct answer dashz63429591

Update - Version 1.2.2, Jun 2026

Download from Github.

Major Changes

  • The folder substitutions are loaded from is no longer hardcoded to Bridge 2025 - it will now open the correct folder for the version of Bridge being used (as long as the version name follows the Adobe Bridge 20xx format).

Other Changes:

  • Added metadata for the Startup Scripts listing in Bridge's preferences window
  • Various code and presentation tweaks

 

As always, please let me know here or on Github if you find any bugs or would like to request additional features!

2 replies

Stephen Marsh
Community Expert
Community Expert
December 3, 2024

@dashz63429591 

 

Thank you for sharing, keep up the great work!

Inspiring
November 29, 2024

Update:

- Fixed a bug where built-in substitutions that printed the name of the month would be off by a month.

Re-download the script and install as normal!

Inspiring
December 2, 2024

Update:

- Built-in substitutions that grab the date now grab it from the EXIF DateTimeOriginal field rather than the XMP DateCreated field. The EXIF field is the one that gets edited by the "Edit Capture Time" feature.

- Removed some debugging code that could pop up unnecessary alerts when using recursive substitutions.