Is there a faster way to load scripting bridge applications from MacRuby?
When I make the SBApplication object for Adobe InDesign it takes more than 10 seconds to load. Here's the code I've been using:
framework 'ScriptingBridge'
indesign = SBApplication.applicationWithBundleIdentifier("com.adobe.InDesign")
puts indesign
Of course the generated header file is huge for InDesign... Is there a way to force the use of a support file?
The large load time when using ScriptingBridge is a documented issue. An alternative is macruby-appscript.