Re: [MacRuby-devel] BridgeSupport (objC header file) simple parser

2011-11-11 Thread Spencer Rose
Thanks for doing this Matt. I have not fallen off the earth on this one. :) Trying to do a lot of research and figure this thing out. InDesign's scripting API is complicated enough, but the way ScriptingBridge works with it is making me work hard. Annoying that running these two commands in t

Re: [MacRuby-devel] Scripting Bridge

2011-11-03 Thread Spencer Rose
And now I am reading chapter 8 of your book again because I remembered something about noMethodErrors and selectors. Starting to make sense. Stay tuned. :) ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/m

Re: [MacRuby-devel] Scripting Bridge

2011-11-03 Thread Spencer Rose
So final question, now that I downloaded the updates to scripting bridge, and it compiles fine, I still get errors such as: `': undefined method `exportFormat' this is right after running your "doc.packageTo" method which worked great. I got the exportFormat method and other methods I have tri

Re: [MacRuby-devel] Scripting Bridge

2011-11-02 Thread Spencer Rose
So I apologize for being such a pain, I appreciate the help though. I have tried everything and cannot get the bridgesupport file to generate on my machine at work which has Snow Leopard on it. I came home tonight and used my MacbookAir which has Lion on it, and it worked perfectly. Things are wo

Re: [MacRuby-devel] Scripting Bridge

2011-11-02 Thread Spencer Rose
Actually, when I build the bridgesupport file I get errors. ./inDesign.h:6176: error: duplicate declaration of method ‘-mergeWith:’ ./inDesign.h:6411: error: duplicate declaration of method ‘-mergeWith:’ a lot of them. There were 500+. After greping them and writing a script to remove those li

Re: [MacRuby-devel] Scripting Bridge

2011-11-01 Thread Spencer Rose
Did you get a bunch of errors like this: sdp: warning: skipping redeclared enumeration "inDesignOTpf" sdp: warning: skipping redeclared enumeration "inDesignJrua" when making your header? I am getting errors when making the header file, and I am sure that is the reason for errors when making

Re: [MacRuby-devel] Scripting Bridge

2011-11-01 Thread Spencer Rose
Incredible help, thanks so much Matt. This is a huge project for my company and willbe ongoing. There is a lot of information in your replies and I will probably spend a day or two working through a lot of it. I will most definitely be back to this post for more help however, and would be

Re: [MacRuby-devel] Scripting Bridge

2011-11-01 Thread Spencer Rose
Hey Matt, Thanks for the response. I had already read and done the tutorial there. It was very helpful. The problem is not so much the weakness of Scripting Bridge, it is the difficulty in knowing all of the method calls and their syntax available from InDesign. Following an earlier threa

[MacRuby-devel] Scripting Bridge

2011-10-31 Thread Spencer Rose
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 struggl