Answered
Change UI Font size in indesign using javascript
Hi All,
How ti change UI font size in indesign using javascript.
Os : MAc
Thanks
Balaji Murugesan
Hi All,
How ti change UI font size in indesign using javascript.
Os : MAc
Thanks
Balaji Murugesan
Try this:
var dialog = new Window("dialog");
var statictext1 = dialog.add("statictext", undefined, undefined, {name: "statictext1"});
statictext1.text = "This 30 pt";
statictext1.graphics.font = ScriptUI.newFont("Helvetica", "Bold", 30);
dialog.show();
P.S. : ScriptUI.newFont() for ScriptUI will only show effect in InDesign CC 2017 or lower. In New version is not working.
Best
Sunil
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.