Yes, I also saw these warnings (not errors). The header file and the
bridgesupport look good here on Lion.
I did some more tests and here is what I got:
I was able to package the document with the following script:
framework 'Foundation'
framework 'ScriptingBridge'
load_bridge_support_file 'inDes
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
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
I generated the header file and looked at the description and I think that
the issue us that the returned value isn't cast:
@property (copy) id appliedFont; // The font applied to the find glyph
preference, specified as either a font object or the name of font family.
Can return: font, string or
I talked with Laurent and it said that the fact that the object type is
SBObject is probably done on purpose by the inDesign API.
- Matt
On Tue, Nov 1, 2011 at 12:12 PM, Matt Aimonetti wrote:
> I generated the header file and looked at the description and I think that
> the issue us that the ret
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