Skip to main content
Known Participant
Mar 11, 2009 12:41 PM UTC
Question

Possible through "Adobe Bridge scripting"

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 is closed to new replies. Start a new post to keep the conversation going.

6 replies

Known Participant
Mar 16, 2009 1:25 PM UTC
Thanks for your response.
Translate
Known Participant
Mar 16, 2009 12:25 PM UTC
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.
Translate
Known Participant
Mar 16, 2009 1:08 PM UTC
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.
Translate
Kasyan Servetsky
Legend
Mar 14, 2009 6:28 PM UTC
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";
Translate
Known Participant
Mar 14, 2009 11:53 AM UTC
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.
Translate
Kasyan Servetsky
Legend
Mar 13, 2009 8:22 PM UTC
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
Translate