Article View: adobe.scripting.indesign
Article #18992Re: Compiling odl file on MAC
From: manjit wadhwan
Date: Fri, 24 Jan 2003 07:15
Date: Fri, 24 Jan 2003 07:15
22 lines
1740 bytes
1740 bytes
Ole, Agreed. I am doing the same. Importing XML file into CodeWarrior, still I am not able to script one function from AppAddOnScriptProvider.cpp. Now this is strange - The scripting plugin provided in SDK works perfectly but I am not able to create a new scriptable plugin properly(Although my new plugin's code matches the original). In the new plugin - I have created a new function CallME() in AppAddOnScriptProvider.cpp. And made all the relevant entries in Resources.r file also. This function shows in ScriptEditor Dictionary properly, but when I call it in script editor, it gives me an error. tell application "InDesign 2.0.1" activate CallME end tell Error:Variable CallME not defined. Do we have to do something else.... Like Registering the plugin in script editor, before we use the scripting plugin? Or Am I missing something??? What could it be? Thanks, Manjit.
Technical Details
Message-ID:
<1de774a0.7@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed.earthlink.net!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!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-23 23:37:39 PST From: "manjit wadhwan" <manjit@sansuisoftware.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed.earthlink.net!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Compiling odl file on MAC Message-ID: <1de774a0.7@WebX.la2eafNXanI> Date: Thu, 23 Jan 2003 23:15:41 -0800 References: <1de774a0.-1@WebX.la2eafNXanI> Lines: 29 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit