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

AnimationEncyclopedia.jsx

Explorer ,
Aug 06, 2012 Aug 06, 2012

when clicking the script I get the followiing error

JavaScript Error!

Error Number: 15875

Error String: The requested font family is not available

Engine: main

File/Applications/Adobe Indesign CS6/Scripts/Scripts Panel/Samples/Javascript/AnimationEncyclopedia.jsx

Line: 361

Source:myTextFrame.texts.item(0).parentStory.appliedFont=app.fonts(myFontName);

how do I fix this?

TOPICS
Scripting
1.0K
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

Explorer , Aug 08, 2012 Aug 08, 2012

works, (installiung Myriad Pro) perfect, yes–thanks.

Translate
Enthusiast ,
Aug 08, 2012 Aug 08, 2012

Install Myriad Pro or comment out line 361:

myTextFrame.texts.item(0).parentStory.appliedFont = app.fonts.item(myFontName);

(which will set all the text frames the script adds in your default font).

Jeff

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 ,
Aug 08, 2012 Aug 08, 2012

works, (installiung Myriad Pro) perfect, yes–thanks.

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
Guru ,
Aug 09, 2012 Aug 09, 2012
LATEST

so mark it as correct

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