🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.indesign.sdk
Article #4345

Not getting keyDirectObject in ScriptProvider, CS/Mac OS X

#4345
From: Chris_Roueche
Date: Tue, 22 Jun 2004 17:47
10 lines
1583 bytes
I've several events that I add to the application object, and each event has a number of optional parameters in addition to a required keyDirectObject. On Windows everything is working great, but I've found that in Mac OS X I'm not being given the keyDirectObject.

I've loaded a script debugger and verified that the keyDirectObject ('----') is actually in the event. The event is arriving at my ScriptProvider (which only handles events, so it's based on CScriptProvider), but when I look for the direct object it's just not there. I've gone so far as to iterate through the ScriptRecordData -- looking at each key/value pair -- and it just seems to be missing, like the script manager stripped it out.

Anyone gotten this to work? If so, what did your event resource keyDirectObject entry look like? Mine's pretty simple:

{ keyDirectObject, "the data", "long description", StringType, kRequired, ... }

Thanks!
chris
Technical Details
Message-ID: <3bb4b8c1.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.agarik.com!news.agarik.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f63e9,4cd0993e0c2ca89e,start
X-Google-Attributes: gidf63e9,public
From: Chris_Roueche@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.agarik.com!news.agarik.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.indesign.sdk
Subject: Not getting keyDirectObject in ScriptProvider, CS/Mac OS X
Message-ID: <3bb4b8c1.-1@webx.la2eafNXanI>
Date: Tue, 22 Jun 2004 10:47:32 -0700
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit