• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: error with scripting bridge/sdp and microsoft word 2008
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error with scripting bridge/sdp and microsoft word 2008


  • Subject: Re: error with scripting bridge/sdp and microsoft word 2008
  • From: Gokul Krishna <email@hidden>
  • Date: Mon, 15 Jun 2009 20:31:38 +0530

i did fix the sdef and passed it on to the sdp to get a header file(basically deleted the offending lines). However i am not sure if this will affect the script in any way.
So was wondering if there is a better way of doing it

On Mon, Jun 15, 2009 at 7:50 PM, Philip Aker <email@hidden> wrote:
On 2009-06-15, at 05:58:52, Gokul Krishna wrote:

Hi,

I am trying to use scripting bridge to create some documents using microsoft word 2008 from within my cocoa application.

I use the following command to generate the glue code header for word

sdef /Applications/Microsoft\ Office\ 2008/Microsoft\ Word.app/ | sdp -fh --basename MicrosoftWord

sdp fails and prints the error message

sdp: /dictionary[1]/suite[4]/enumeration[90]/enumerator[50]: missing required "name" attribute

the generated header file is also incomplete and cannot be used .

Any pointers on why this is happening and how to rectify it?

Not anything concrete since I don't use that application.
However, maybe you can fix the generated sdef before passing it to sdp.
A better list for this kind of question is the AppleScript implementors list.
Also, you may wish to check out alternate possibilities using one or another of the 'appscript' family <http://appscript.sourceforge.net/> by Hamish Sanderson.

Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.




--
Better to get up late and be wide awake than to get up early and be asleep all day.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >error with scripting bridge/sdp and microsoft word 2008 (From: Gokul Krishna <email@hidden>)
 >Re: error with scripting bridge/sdp and microsoft word 2008 (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: error with scripting bridge/sdp and microsoft word 2008
  • Next by Date: Re: my own scripting additon
  • Previous by thread: Re: error with scripting bridge/sdp and microsoft word 2008
  • Next by thread: Re: error with scripting bridge/sdp and microsoft word 2008
  • Index(es):
    • Date
    • Thread