François Robert wrote:
Dear NG

I am writing a set of plugins for Photoshop CS2 ...
I would like
to attach a unique ID to the newly opened document, ...
I have read the PS9 SDK and it seems to me that the Pseudo-resources suite would provide what I need. ...
My questions are :
a) If Pseudo-resources are indeed IRB, then they are persisted in the PSD files (and the JPG / TIFF too) when the user saves the document they are attached to. Correct ?

Yes.

b) Can I create IRB / pseudo resource with arbitrary IDs ? (that is, Photoshop has a documented set of IRB IDs. How do I add my own ?)

I imagine you would try to register your own type with Adobe.

c) ...

d) Alternatively, Is there a way of getting / setting this extra info in a more direct way, from the automation plugins themselves ?

Have you considered using File Info metadata such as keywords?

--Toby

...

Any help appreciated.
_______________________________________________________
François Robert
(to mail me, reverse character order in reply address)