Copy link to clipboard
Copied
Copy link to clipboard
Copied
#target bridge
if (BridgeTalk.appName == "bridge" ) {
// Let's create our menu
var menu = MenuElement.create( "command", "Export CSV File", "at the end of Tools");
menu.onSelect = function(m) {
try {
// Let's ask what the name of the output file
var f = File.saveDialog("Export file list to:", "Comma delimited file:*.CSV");
if ( !f ) { return; }
// Write the column headings
f.open("w");
f.writeln("Description,Photographer,Copyright");
// Let's get a list of all the visible thumbnails
var items = app.document.visibleThumbnails;
for (var i = 0; i < items.length; ++i) {
var item = items;
f.writeln(ListMetadata(item) );
}
f.close();
} catch(e) {}
}
}
function ListMetadata(tn) {
md = tn.metadata;
md.namespace = "http://ns.adobe.com/photoshop/1.0/";
var varAuthor = md.Author + ',';
var varCopyright = md.Copyright;
md.namespace = "http://purl.org/dc/elements/1.1/";
var varDescription = md.description + ',';
return varDescription + varAuthor + varCopyright;
}
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I need to extract the GPS info (latitude, longitude and altitude) from a picture taken with a gps camera to an excel spreadsheet from a list of pictures, I think what I read here can help me. Can you please contact me? Thank you!
David
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thank you Stephen_A_Marsh, I used the Exiftool and it worked perfect. Granted, I used my understanding of DOS environment, but it did its job.
Copy link to clipboard
Copied
Glad to help davidmcbo. Another similar topic can be found here:
Find more inspiration, events, and resources on the new Adobe Community
Explore Now