Reading MetaData Help

Upload Adobe Bridge Scripts, Download Adobe Bridge Scripts, Support for Individual Adobe Bridge Scripts

Moderators: Tom, Kukurykus

viper04
Posts: 1
Joined: Sat Apr 08, 2017 6:17 am

Reading MetaData Help

Post by viper04 »

Hello,

I'm trying to add to the already "Extract Metadata" script that reads and outputs to csv which works well.
I have been able to add new items to the selection etc, but when I want to extract specific data I'm unsure what "keywords" are supposed to be used. Is there an api.chm file that indicates this or what?

For example:

Code: Select all

if(win.grp20.cb18.value){
var gpsAlt = md.read("http://ns.adobe.com/exif/1.0/" ,"exif:GPSAltitude");
if(gpsAlt == undefined) gpsAlt = '';
Line += csvtab + eval(gpsAlt);
}
gets the GPS Altitude, but where does one reference this line from?

Code: Select all

md.read("http://ns.adobe.com/exif/1.0/" ,"exif:GPSAltitude");
I tried to fill in the blanks for GPS Image Direction as follows:

Code: Select all

if(win.grp10.cb14.value){
var gpsImg = md.read("http://ns.adobe.com/photoshop/1.0/","exif:GPSImgDirection");
if(gpsImg == undefined) gpsImg = '';
Line += csvtab + eval(gpsImg);
}
but that's a no go.

I'm assuming it's this reference line

Code: Select all

md.read("http://ns.adobe.com/photoshop/1.0/","exif:GPSImgDirection")
specifically:

Code: Select all

"exif:GPSImgDirection"
Anyone point me to where I can get these references as I would like to add a bunch to this existing tool.

Cheers