I regularly export jpeg images to specific "destination" folders based on image output characteristics and then use DO presets I created to rename the files (append a few characters such as "-final-crop". How do I create a script so that any new file entering that specific folder gets renamed immediately, automatically?
Thanks!
There isn't a way for scripts to monitor folders for changes. There are some other tools which could be used to monitor the folder and then trigger the action (via Opus or just general scripting).
Or you could set up a button or hotkey which runs the script on-demand and has it process everything in the specified folder. Not fully automated, but just a single click whenever needed.
Dialog.Watchtab can track additions to a folder in an open tab but you would need to have a detached dialog running permanently, or at least during a session when you are exporting, to monitor target folders in open tabs.