InDesign CC 2014.1 (InDesign version 10.1) and its corresponding plug-in SDK (x070 and x071) contains a new include which will be of particular interest to anyone developing hybrid extensions.
In case you don’t know, a hybrid extension is an extension which consists of one or more native plug-ins and one or more HTML (or Flash) extensions.
The new APIs, found in the SDK at /source/public/interfaces/ui/ICSXSPlugPlugExtensions.h, enable workflows where a native plug-in needs to open or close an extension.
Whilst there is no need to port or recompile your plug-ins from 10.0 to be compatible with 10.1, if you want to use this API you will need to use the latest SDK to pick up the new header and you will then have to recompile.
The InDesign update you received in August 2013 (InDesign 9.1) included the enabling of HTML5 extensions.
As you may already know, starting in the middle of 2014 Adobe will begin removing Flash-based extension support in Creative Cloud products, starting with Photoshop CC.
If you have any hybrid or regular Flash extensions for InDesign you need to begin migrating them to HTML5 as soon as possible.
Dolly is a Java application for generating new InDesign plug-in projects. It is included with the Plug-in SDK.
Dolly has a simple user interface, but it can also be used from the command line. The user interface version of Dolly has a limited number of settings that you can adjust, so using the command line has its advantages.
Perhaps you’ve come to native plug-in development from a more script-based background, or perhaps you have some existing script code you want to reuse in a new plug-in project. Whatever your background, it’s really handy to be able to run a script from a native plug-in, and it’s also surprisingly easy.
The code below works out of the box so you can copy and paste as much as you please.
InterfacePtr<IScriptRunner> scriptRunner(scriptEngine, UseDefaultIID());
scriptRunner->RunScript("alert('hello, world!');", params);