Article View: adobe.indesign.sdk
Article #4354Re: Scripting and UID-Based Object definition
From: Ken_Sadahiro
Date: Tue, 22 Jun 2004 19:47
Date: Tue, 22 Jun 2004 19:47
7 lines
1678 bytes
1678 bytes
A UID-based object refers to a persistent boss class. (i.e. the boss class aggregates IPMPersist). Any instance of a persistent boss class can be uniquely identified (within a database) by its UID. A non-UID-based object, then, is a boss class that isn't persistent (i.e. boss class does NOT aggregate IPMPersist). If you just want to hold key-value pairs, and if these key-value pairs don't have a persistent boss class that represents them on the database, then you at least have a non-UID-based object you want to add to the scripting model. Furthermore, if you don't have a boss class that represents your key-value pairs, then you will have to create a boss class that aggregates IScript (such boss classes in the "scripting domain" are called "proxy script objects"). The IScript is needed so that the application's scripting manager can refer to your object. These will be discussed during this Friday's session (#16) on Scripting. I assume you'll be attending? (Go to <https://adobeeseminar.webex.com> to register)
Technical Details
Message-ID:
<3bb4b931.0@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fr.ip.ndsoftware.net!proxad.net!proxad.net!newsfeed.arcor.de!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<3bb4b931.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f63e9,1c60bd91e9dbc28a X-Google-Attributes: gidf63e9,public From: Ken_Sadahiro@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fr.ip.ndsoftware.net!proxad.net!proxad.net!newsfeed.arcor.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.indesign.sdk Subject: Re: Scripting and UID-Based Object definition Message-ID: <3bb4b931.0@webx.la2eafNXanI> Date: Tue, 22 Jun 2004 12:47:47 -0700 References: <3bb4b931.-1@webx.la2eafNXanI> Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit