Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

(CC 2014) ScriptUI font do not change?

Explorer ,
Sep 21, 2014 Sep 21, 2014

I have tried to change my ScriptUI font, but nothing changed. I have also tested out with Peter Kahrel's guide where he is showing how to use fonts in ScriptUI, but none affect

Like:

var w = new Window ("dialog");

button1 = w.add ("button", undefined, "Default");

button2 = w.add ("button", undefined, "Bigger");

button2.graphics.font = "dialog:18";

w.show ();

or

function createMessageWindow ()

{

var w = Window.find ("palette", "Message");

if (w == null)

{

w = new Window ("palette", "Message");

w.mess = w.add ("statictext", [0,0,300,20], "");

}

w.show();

}

...

Is there some problems with CC 2014 with this atm. I tried to find answer here, but none. Someone?

TOPICS
Scripting
1.6K
Translate
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

correct answers 1 Correct answer

Valorous Hero , Sep 21, 2014 Sep 21, 2014

Unfortunately, the whole choose-your-own-font option is gone in ScriptUI CC.  I believe we are stuck with default font size and shape, Peter Kahrel discusses this at the end of the guide in a section which goes over version changes.

Translate
Adobe
Valorous Hero ,
Sep 21, 2014 Sep 21, 2014

Unfortunately, the whole choose-your-own-font option is gone in ScriptUI CC.  I believe we are stuck with default font size and shape, Peter Kahrel discusses this at the end of the guide in a section which goes over version changes.

Translate
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
Explorer ,
Sep 23, 2014 Sep 23, 2014

Ah this is sad. But I guess this is part of their plan to make us to use Extension Builder Or something. Don't know...

Thanks for the answer anyway Silly-V!

Translate
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
Guide ,
Apr 28, 2016 Apr 28, 2016
LATEST

have a look at the HTML CEP extensions,

Adobe CEP · GitHub

bit more work to set it up in the first place, but it's much simpler then the traditional SDK.

and much better intergration to the illy UI then using ScriptUI

Translate
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
Community Expert ,
Apr 17, 2016 Apr 17, 2016

Mhm, I'm no expert in ExtendScript. Hence I have tried out the various ScriptUI functions in an experimetal dialogue (in ESTK CC as it came with FremMaker 2015) which includes this snippet:

// fancy static text below the buttons
  win.fancy = win.add ("staticText", [120,190, 495,230], "Fancy text in Segoe Script");
  win.fancy.graphics.font = "Segoe Script-bold:24";

The example dialogue is this

script-ui-demo.png

Translate
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