Hi,
I am using the following JavaScript to modify the title for current extension dialog (Modeless dialog):
var csInterface;
$(function () {
csInterface = new CSInterface();
csInterface.addEventListener(Events.Products.ImageBind, init);
});
function init(event) {
csInterface.setWindowTitle("Images");
}
I also tried using "new CSInterface().setWindowTitle("Article");" in init() function instead of "csInterface.setWindowTitle("Images");". But title is not modified.
Please guide me on how to modify dialog title.
The manifest.xml file has the following definition for extension:
<Extension Id="com.adobe.illustrator.ImageUI.dialog">
<DispatchInfo>
<Resources>
<MainPath>./html/image.html</MainPath>
<ScriptPath>./js/main.jsx</ScriptPath>
<CEFCommandLine/>
</Resources>
<Lifecycle>
<AutoVisible>true</AutoVisible>
<Visible>true</Visible>
</Lifecycle>
<UI>
<Type>Modeless</Type>
<Menu>title</Menu>
<Geometry>
<Size>
<Height>400</Height>
<Width>450</Width>
</Size>
</Geometry>
<Icons/>
</UI>
</DispatchInfo>
</Extension>
Thank you