Then Im definatly the wrong person to ask… I use AppleScript & ExtendScript ( on a mac you see ). Like I said it is possible in AI & BR to do this but I wouldn't have a clue if VB has any XMP libraries/tools to do so… BR is pretty much ExtendScript only… Carlos may well know he does VB as well…
Document's XMPString property is r/w, so simply write you keywords into. JS code:
activeDocument.XMPString = activeDocument.XMPString.replace(' </dc:title>', ''' </dc:title> <dc:subject> <rdf:Bag> <rdf:li>some text</rdf:li> <rdf:li>keywords for me</rdf:li> </rdf:Bag> </dc:subject>'''); activeDocument.save();
I think that I have a problem with the synthax after (' is this right ? It doesn't work
My problem is that my macro should create a stringchain like: keyword1, keyword2, keyword5, keyword9
The aim is a controlled namespace to avoid phantasienames and clear metadata ... may you have a suggestion how I can do this ?
Anyway thank you and many many thanks for your reply!
The FileInfo SDK has a lot of useful information about creating a custom FileInfo panel (from your File Menu in most Adobe products) where you can create a custom interface for creating your own XMP data. You can get pretty involved with just the sample CustomFileInfo panel that's provided.... I went further and created a Flash SWF to use as the interface (built using Flex, Actionscript, and Ant), which included checkboxes that when selected wrote to the keyword field. Might be more than you are looking for though.
Either way, the Custom FileInfo Panel SDK would be where I'd start.