How can I modify IPTC headers with JSX script, without opening images.
I'd like to use Photoshop, and scripting, to modify several IPTC fields in a JPEG, without actually opening the JPEG, and then also rename the JPEG.
Right now, I've got a .JSX script I wrote that will do the following:
1) Ask the user to point to a directory containing JPEG files
2) Ask the user to input a caption
3) Open each JPEG in the directory, modify the Author, Caption, and several other fields
4) Save-As the JPEG to a new directory, with a different name
5) Close the JPEG
This JSX works great right now. But if there are 100 images, then it take a long time to complete this task.
I have another .JSX script that will complete some of this work without opening the JPEG in Photoshop. But this .JSX script only modifies XMP data. That information is not visible from the Windows file system when I right-click and ask for "details."
How can I write a .JSX script to modify the IPTC metadata without actually opening the JPG, and how can I get Photoshop to rename the file as well?
Thanks,
