Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Bold text on CC2018

New Here ,
May 02, 2019 May 02, 2019

Copy link to clipboard

Copied

This :

EX.add ("statictext", undefined,"",{name: "EXname"});

EX.EXname.graphics.font =  "-Bold:14";

or this :

EXname.graphics.font = ScriptUI.newFont ("dialog", "Bold", 14);

seems not to work on CC2018 ! (works on CS6)

Have you a solution ?

Thank you

TOPICS
Scripting

Views

410

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 02, 2019 May 02, 2019

Copy link to clipboard

Copied

Hi alband78680803 ,

no solution. It is broken with InDesign CC version 9 and beyond.

See:

Re: Can’t seem to be able to change statictext font size

Regards,
Uwe

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 02, 2019 May 02, 2019

Copy link to clipboard

Copied

Here an example:

ScriptUI fonts used with InDesign CS6:

ScriptUI-Fonts-CS6.PNG

Same code executed with InDesign CC 2019:

ScriptUI-Fonts-CC-2019.PNG

Regards,
Uwe

PS: Sample code from here where I did not use Gil Sans example because I had not installed the font:

Re: How to change size and color of "staticText"??

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 02, 2019 May 02, 2019

Copy link to clipboard

Copied

That's what seemed to me... what a shame !
Thank you !

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 02, 2019 May 02, 2019

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 10, 2019 May 10, 2019

Copy link to clipboard

Copied

LATEST

And is there a way to use superscript ? and how ? Thank you

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines