I'm editing a script that runs in Photoshop to automate some actions.
It has the following line which adds text to the image that is the filename:
Code:
newTextLayer.textItem.contents = file.name;
What I'd really like to do is use say the Title (as seen on right click jpeg/properties/summary) or even better extract Exif image data fields such as Focal Length and Exposure Time (seen on advanced summary table).
How (if possible) would I achieve it?