Skip to content

v1.2.0

Choose a tag to compare

@9yz 9yz released this 06 Aug 17:31
· 28 commits to main since this release
f45fafd

Medium-sized update for Text Substitutions with new functional & builtin substitutions, as well as QoL updates for editing substitution files.

Changelog

Text Substitutions

Major Changes:

  • Added new fuctional substitutions:
    • fLength, fLen
    • fGetIndex, fIndex, fIndexOf
    • fGetLastIndex. fLastIndex, fLastIndexOf
    • fFindReplace, fReplace
    • fToUpperCase, fToUpper
    • fToLowerCase, fToLower
    • fToTitleCase, fToTitle
    • fAnyEquals, fAnyEq
  • Added new builtin substitutions:
    • mDescription, mDesc
    • tDOW, tDayOfWeek (aliases for tDayP)
  • Changes to already-loaded custom substitution files are now detected and automatically reloaded when the script is run - no more need to open the settings and click the reload button!
  • Added support for multi-line substitution definitions - in a custom substitution file, ending a substitution definition with a backslash (\) will ignore the following newline and continue reading the substitution definition on the next line.
    • Leading tabs on the following line will be ignored.
    • If the following line is commented out or only contains tabs, it will be ignored and the next line will be used.
  • New substitution file - ts_usefulSubstitutions.txt containing some useful custom substitutions for advanced work (for detecting plurals and leading vowels)

Minor Changes

  • Update the Photo Mechanic Variables custom substitutions file with the new substitutions.
  • Cosmetic changes to the settings panel

Installation

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