Hopefully one of the AppleScript gurus on here can help with my request. I have no scripting skills beyond being able to tweak code I have found, and I can’t find anything for this request.
I would like an AppleScript droplet, which runs when an image is dropped onto it renaming the image file. The new name comes from a predefined list (examples below) retaining the original file details.
Once the list of names reaches the last in the list the script should re-start, and simply cycle through the list again. The images will be dropped automatically and remotely.
An example using the property list below. Image IMG_001.JPG is dropped onto the applet, the script runs and allocates the first name in the list, so that it now becomes London-Bridge-Saturday-IMG_001.JPG
Ideally, an option to automatically add the dashes or remove them would be useful, or simply what is defined within the list is used in the format written.
Also, I’d like to send an iMessage once the process is complete or if it fails. An ability to turn on/off messaging would be useful.
property thePicName : {"London-Bridge-Saturday-", "Tower-of-London-Saturday", "BT-Tower-London"} #Rename drop image files. Retain original image ID i.e. IMG_001.jpg. Cycle through the list and restart at one if needed.
I hope someone can help.