Tuesday, March 23, 2010

What is this plugInUniqueID thing?

In places in the sample code where I have seen it #define'd, it appears to be 32 hex characters punctuated by four short dashes like d9543b0c-3c91-11d4-97bc-00b0d0204936. Is this something the writer of a plug-in generates like an RFC1321 checksum? If so how does one generate it, or is done by Photoshop, and there is some call somewhere in the API to read it? I haven't found any enlightenment on it doing a Find-in-Files over the whole SDK file structure.

thanks

Mike
What is this plugInUniqueID thing?
Michael_D_McGuire@adobeforums.com wrote:

%26gt; In places in the sample code where I have seen it #define'd, it appears to be 32 hex characters punctuated by four short dashes like d9543b0c-3c91-11d4-97bc-00b0d0204936. Is this something the writer of a plug-in generates like an RFC1321 checksum? If so how does one generate it, or is done by Photoshop, and there is some call somewhere in the API to read it? I haven't found any enlightenment on it doing a Find-in-Files over the whole SDK file structure.



It's a UUID. See http://en.wikipedia.org/wiki/UUID for details.



There are several UUID generators on the web including this one:

http://www.famkruithof.net/uuid/uuidgen



-X

--

for photoshop scripting solutions of all sorts

contact: xbytor@gmail.com
What is this plugInUniqueID thing?
Thanks X, that got something working for me.



Mike

No comments:

Post a Comment