[MacRuby-devel] Scripting Bridge

Matt Aimonetti mattaimonetti at gmail.com
Mon Oct 31 16:04:45 PDT 2011


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 at 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 at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20111031/ba52ec48/attachment.html>


More information about the MacRuby-devel mailing list