Hey in this post http://merbist.com/2010/01/17/controlling-itunes-with-macruby/  I'm explaining how to do that with iTunes.
I haven't tried scripting InDesign but the same concept/approach should apply.
I have InDesign CS5.5 installed on my machine, if you share some code with you, I might be able to help you debug your issue.

- Matt


On Mon, Oct 31, 2011 at 2:59 PM, Spencer Rose <dspencerr@gmail.com> wrote:
Hey everyone, any help would be incredible.

I am consolidating a workflow with scripts into an actual desktop application.

When a search down to base "leaf" node such as "AppliedFont" from a paragraph
style in InDesign, all I get is a SBObject.

I need the name of the font.

I am struggling to figure out how to introspect that object.

Tried casting it, to inspect as a Cocoa object.

Did not go well.

Anyways, any ideas on how to get the property names and not these
SBObjects would be helpful.

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel