Load font file manually in script

New Here ,
May 16, 2022 May 16, 2022

Copy link to clipboard

Copied

I have several scripts (Javascript) that run on some Windows machines. These scripts use fonts (TTF) and I have to constantly remember to load the fonts on the machines each time a script uses a new font. Instead of loading the fonts on the machines, I was wondering if it would be possible to just load the font files from the scripts? This way I don't need to load the fonts on all of the machines.

TOPICS
Scripting

Views

57

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 16, 2022 May 16, 2022

Copy link to clipboard

Copied

LATEST

Hi @andav51, I'm pretty sure there is no way to load fonts just using ExtendScript. Maybe you could load font files (that you supplied with the scripts) via a command line script? I'm a Mac guy so can't help, but there are plenty of Windows folk here with experience automating things.

- Mark

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