Cocoa Scripting Bridge and <contents> element
Posted
by Stephen
on Stack Overflow
See other posts from Stack Overflow
or by Stephen
Published on 2010-05-25T23:10:24Z
Indexed on
2010/05/25
23:11 UTC
Read the original article
Hit count: 236
So, the application I'm trying to script has a scripting definition file that includes a <contents> element, which is an "implicitly specified container."
The question, how do I get at what's inside this element using Scripting Bridge? Or alternatively, how do I send the Apple Event necessary to retrieve it and then transform what I get back into an SBObject?
I already tried:
[document nameOfKey]
document.nameofKey
[document contents]
document.contents
© Stack Overflow or respective owner