Article View: adobe.scripting.indesign
Article #18995Re: Compiling odl file on MAC
From: manjit wadhwan
Date: Fri, 24 Jan 2003 15:12
Date: Fri, 24 Jan 2003 15:12
20 lines
1795 bytes
1795 bytes
Ole,
I got it! The reason why the new plugin was not exposing its function was that there is some relation between the function name and the event id which we declare in .r file.(Which is proper in SDK Scripting plugin)
Follwing is the final code snippet of .r file:
"Adobe InDesign SDK Suite", "Events and Classes specific to Adobe SDK CustomPrefsScript Plug-in", 'IdSd', 1, 1,
{ /* array Events: 1 elements */
"flip customPrefState", "Calls fn from Application object.", 'IdSd', 'fcps', noReply, "",
replyRequired, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
'obj ', "the object to be acted on", directParamRequired, singleItem, notEnumerated, doesntChangeState, Reserved12,
{ /* array OtherParams: 0 elements */
}
Now, I want to pass a string as a parameter to that function. I am not getting any help about it anywhere(Literally).
Will you be able to help me about further changes required in .r file to achieve that?
Thanks,
Manjit.
Technical Details
Message-ID:
<1de774a0.8@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de774a0.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,e91471ad23a2d52b X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-01-24 07:37:49 PST From: "manjit wadhwan" <manjit@sansuisoftware.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Compiling odl file on MAC Message-ID: <1de774a0.8@WebX.la2eafNXanI> Date: Fri, 24 Jan 2003 07:12:58 -0800 References: <1de774a0.-1@WebX.la2eafNXanI> Lines: 28 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit