Hi,
Wonder if anyone can help me here?
I have some Objective-C code and in part of it I need to script Adobe InDesign. I'd rather not use AppleScript if I can help it. So I thought I'd use Scripting Bridge - I know it's glitchy but my needs are simple (place a PDF) so I thought it should be up to that at least.
I created the header like this:
The resulting header file is, frankly, a load of *&^% - see attached file if you fancy a giggle. There are duplicate methods galore and all sorts of other horrors. There's no way Xcode will compile it.
I guess the question is, has anyone ever got Scripting Bridge to work with Adobe InDesign, and if so, what cunning trick am I missing here?
Any suggestions or advice would be much appreciated!
Wonder if anyone can help me here?
I have some Objective-C code and in part of it I need to script Adobe InDesign. I'd rather not use AppleScript if I can help it. So I thought I'd use Scripting Bridge - I know it's glitchy but my needs are simple (place a PDF) so I thought it should be up to that at least.
I created the header like this:
Code:
sdef /Applications/Adobe\ InDesign\ CC\ 2017/Adobe\ InDesign\ CC\ 2017.app | sdp -fh --basename InDesign
The resulting header file is, frankly, a load of *&^% - see attached file if you fancy a giggle. There are duplicate methods galore and all sorts of other horrors. There's no way Xcode will compile it.
I guess the question is, has anyone ever got Scripting Bridge to work with Adobe InDesign, and if so, what cunning trick am I missing here?
Any suggestions or advice would be much appreciated!