I'd like to take a collection of photographs and extract the same descriptive piece of metadata from IPTC (photoshop file->file info) for each photo, create a Text layer, copy the info to it, and then save as a JPG as a means of creating titles for each photo.
I can do this on an individual photo but have not been able to find a way to batch up this process as no "Actions" are capable of recording the events of "opening the file, file info MENU, selecting the IPTC data component, and copying & pasting the data into the Text layer.
[Moved to Photoshop Scripting Forum by Mod]
The scripting subforum may be of help.
You can use this script to put the info in the description field into a text layer. Of course, you would want to change the script to format the size of the font, and the position.
#target photoshop var doc = activeDocument; var txtLayer = doc.artLayers.add() txtLayer.kind = LayerKind.TEXT; var textItemRef = txtLayer.textItem; txtLayer.position = [100,100]; textItemRef.contents= doc.info.caption textItemRef.size=50