Skip to main content
Known Participant
March 11, 2009
Question

Possible through "Adobe Bridge scripting"

  • March 11, 2009
  • 5 replies
  • 1526 views
I saved the "Document Info" details in adobe illustrator manually using "Document Info Pannel". But i could not save the "Document Info" details through illustrator action and script. Is it possible the above process through "Adobe Bridge scripting". Kindly advice me.
This topic has been closed for replies.

5 replies

Known Participant
March 16, 2009
Thanks for your response.
Known Participant
March 16, 2009
Thanks for your great help. Could you please advice me how to get the "document info" details in "illustrator cs3" through "adobe bridge cs3". Kindly help me.
Known Participant
March 16, 2009
Prabudass@adobeforums.com wrote:
> Thanks for your great help. Could you please advice me how to get the "document info" details in "illustrator cs3" through "adobe bridge cs3". Kindly help me.

You need to read the Bridge reference and user's guides on 'Metadata'. That's
all "document info" really is, just data about data. Or, in this case, data
about the document.
Kasyan Servetsky
Legend
March 14, 2009
I am on CS3, so I can't help you with CS version. But anyway here is an example (for CS3).
I assume that an illustrator file is selected in Bridge.

#target bridge

var sels = app.document.selections[0];
var md = sels.metadata;
md.namespace = "http://ns.adobe.com/xap/1.0/";
var myCreator = md.read("http://ns.adobe.com/xap/1.0/", "xap:CreatorTool");
$.writeln ("File was created by " + myCreator);
var myModifyDate = md.read("http://ns.adobe.com/xap/1.0/", "xap:ModifyDate");
$.writeln ("File was modified at " + myModifyDate);
// Let's write some info into IPTC Contact panel (IPTC Core in Metadata panel)
md.namespace = "http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/";
md.CiAdrCity = "Kiev";
md.CiAdrCtry = "Ukraine";
Known Participant
March 14, 2009
Thanks for your response. Could you please provide me any sample for how to collect the "Document Info" details through Bridge. I am new for adobe bridge. This is for "Adobe CS". Kindly help me.
Kasyan Servetsky
Legend
March 13, 2009
In Bridge you can access metadata of an Illustrator file – the data you see when you chose File > File Info... or in Metadata panel. And surely you can collect the data you need and write them to a text file.

Kasyan