Skip to main content
patrickc22898988
Participant
January 11, 2021
Answered

Exporting List, Metadata, Keywords to CSV, Excel, Etc

  • January 11, 2021
  • 2 replies
  • 13418 views

Hi,

I am using the latest version of Bridge (CC) and would like to export a list of selected files, including Keywords, Rating, and File Location if possible.

In a previous version of Bridge, I had used a script to do this. However, since then it seems that this functionality has been discontinued. Is there any way to do what I want in this "Professional" software that we are paying so much for? 

This topic has been closed for replies.
Correct answer Lumigraphics

Adobe has never offered this. However, there are scripts, including my Folder List Export script, which have this functionality.

Adobe Scripts?

2 replies

Stephen Marsh
Community Expert
Community Expert
June 22, 2021

Various options also listed here:

 

Extracting Metadata to .CSV

 

Participating Frequently
December 28, 2024

Here's a script to auto place selected images from Bridge and put them on  Indesign pages. The only problem with it is that on the first page, top row left side,  it places 2 images on top of each other in the same picture frame. Other than that it works well. Any ideas on how to fix the javascript to eliminate the overlapping placement on the first page?

 

#target bridge
if (BridgeTalk.appName == "bridge") {
var menu = MenuElement.create("command", "AutoPlaceFixed2", "at the end of Tools");
menu.onSelect = function () {
var selectedFiles = app.document.selections;
if (selectedFiles.length === 0) {
alert("Please select one or more image files.");
return;
}
var filePaths = [];
for (var i = 0; i < selectedFiles.length; i++) {
if (selectedFiles[i].type === "file") {
filePaths.push(selectedFiles[i].spec.fsName);
}
}
if (filePaths.length === 0) {
alert("No valid image files selected.");
return;
}
var bt = new BridgeTalk();
bt.target = "indesign";
bt.body = "var filePaths = " + filePaths.toSource() + ";";
bt.body += "(" + placeImagesInInDesign.toString() + ")();";
bt.send();
};
}

function placeImagesInInDesign() {
if (app.documents.length === 0) {
app.documents.add();
}
var doc = app.activeDocument;
var marginPreferences = doc.marginPreferences;
var pageWidth = doc.documentPreferences.pageWidth;
var pageHeight = doc.documentPreferences.pageHeight;
var x = marginPreferences.left;
var y = marginPreferences.top;
var spacing = 0; // No spacing between images
var currentPage = doc.pages[0];

for (var i = 0; i < filePaths.length; i++) {
var imageFile = new File(filePaths[i]);

// Create a new rectangle frame for the image
var rect = currentPage.rectangles.add();

// Place the image in the rectangle
var placedImage = rect.place(imageFile)[0];

// Get the original dimensions of the placed image
var originalWidth = placedImage.geometricBounds[3] - placedImage.geometricBounds[1];
var originalHeight = placedImage.geometricBounds[2] - placedImage.geometricBounds[0];

// Check if the next image would exceed the horizontal boundary
if (x + originalWidth > pageWidth - marginPreferences.right) {
x = marginPreferences.left; // Reset x to start of new row
y += originalHeight + spacing; // Move down for the new row
}

// Check if the next row would exceed the vertical boundary
if (y + originalHeight > pageHeight - marginPreferences.bottom) {
currentPage = doc.pages.add(); // Add a new page
x = marginPreferences.left; // Reset x for the new page
y = marginPreferences.top; // Reset y for the new page
}

// Ensure the frame matches the original image dimensions
rect.geometricBounds = [y, x, y + originalHeight, x + originalWidth];

// Fit the content to the frame
rect.fit(FitOptions.CONTENT_TO_FRAME);

// Update position for the next image
x += originalWidth + spacing;
}
}

LumigraphicsCorrect answer
Legend
January 12, 2021

Adobe has never offered this. However, there are scripts, including my Folder List Export script, which have this functionality.

Adobe Scripts?

OzPhotoMan
Inspiring
July 22, 2021

Hi,

 

I too have been looking for something like this. I downloaded it and it works really well. One suggestion, add the ability to select files by extension. I am creating a list of files so I can print labels to fix to the back of very old family prints. Currently I have a mix of psd, raw and jpg files in the one folder. Moving forward I plan to put them in separate folders.  

 

OzPhotoMan
Inspiring
July 23, 2021

PS, I don't understand what you mean in by this in the help file

 

"Configure categories in the Utility Script Pack Preferences Panel if desired. Select any folder containing files or subfolders, then this command (hold Cmd/Ctrl to show the category window.)" 

 

Regards,

 

Steve