v1.2.0
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,fLenfGetIndex,fIndex,fIndexOffGetLastIndex.fLastIndex,fLastIndexOffFindReplace,fReplacefToUpperCase,fToUpperfToLowerCase,fToLowerfToTitleCase,fToTitlefAnyEquals,fAnyEq
- Added new builtin substitutions:
mDescription,mDesctDOW,tDayOfWeek(aliases fortDayP)
- 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
- Download the script of your choice
- Go to Preferences and select the "Startup Scripts" tab.
- Click "Reveal Scripts in Explorer"
- Place the script file in the folder that opens
- Restart Bridge
- When prompted upon restarting, choose to enable the script.
- If the script is not enabled, go to Preferences > Startup Scripts and enable the script, then restart Bridge