Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

IMPORTING keywords/metadata into Bridge

New Here ,
Jun 05, 2008 Jun 05, 2008
I've followed the thread here: http://www.adobeforums.com/webx?127@@.3bbaa316.3bbb9835

which goes into great detail as to how to export the data... but no mention of importing, even though it's titled as so.

Is there a way to IMPORT metadata, specifically keywords, into Bridge?

Ideally I would have a csv file, with file name in one column, keywords in next, import this and the rest is self explanatory obviously.

any help is appreciated
TOPICS
Scripting
3.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jun 21, 2008 Jun 21, 2008
Ok here is a quick idea on how to do it...
CSV file in the format
FULL filename including path
keywords seperated by a semicolon eg:
C:/Pictures/China/Paul/P1000662.JPG,Fred;Joe
C:/Pictures/China/Paul/P1000663.JPG,Graham;Paul
C:/Pictures/China/Paul/P1000664.JPG,Paul

code......

#target bridge
//Amend filename to suit
var csv = new File("c:/a/csvmetadata.csv");
csv.open("r");
while(!csv.eof){
strInputLine = csv.readln();
if (strInputLine.length > 3) { // Make sure it isn't a blank line
strInputLine = strInputLine.replace(/\\/g,'/'); //Change backslash to forward slash.
inputArray = strInputLine.split(",");
var csvFile = new File(inputArray[0]);
if(csvFile.exists){ //Check if file exists
writeMetadata(inputArray[0],inputArray[1]);
}
}
}

function writeMetadata(file,keys){
item = new Thumbnail(file);
md =item.synchronousMetadata;
md.namespace = "http://ns.adobe.com/photoshop/1.0/";
md.Keywords = md.Keywords + ";" + keys; //Append keywords
}
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 29, 2008 Sep 29, 2008
I'm not a scripting guy, I have some basic knowledge, and I too, am looking for a method to automate the uploading of bulk metadata from an .xls spreadsheet into images via bridge.

What I am thinking is that there would be a spreadsheet with columns that would correspond to the standard metadata fields accessed through the "file info".

someone must have already developed this, I'm not looking to reinvent the wheel. I'm looking for something like a plug-in, but a working script would do fine.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 17, 2009 Mar 17, 2009
Jonathan / Jay did you get anywhere with this, I am trying to do the same. I know it can be done, as I have seen it a few months ago. Taking data from Filemaker and adding it into the metadata of a pdf. Has anybody got a script to amend slightly.

Thanks in anticipation.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 02, 2009 Jun 02, 2009

I was able to get this script to work for me in renaming a bunch of jpg images. It was truly a time and life saver. Let me know if I can help you out. All I did was change some filenames and paths in the original script and it worked.

Brandon

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jun 04, 2009 Jun 04, 2009
LATEST

Sorry, I didn't notice the year of original message.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines