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

jsx script on Illustrator 2021 throws File not found error when loading ExternalObject

Explorer ,
Oct 26, 2021 Oct 26, 2021

Copy link to clipboard

Copied

We're trying to run the following function in Illustrator 2021 (25.2) on a Big Sur Mac OS machine. The indicated line fails with and error "File or Folder not found" (or equivalent there of). The line in question is trying to load a framework as an external object. The framework exists at the said path and has the necessary file permissions. Moreover, the same function runs without error in Illustrator 2020 (24.x). 

 

function loadWebAccessLibrary() {
  if(typeof PCDesEO == 'undefined' ) {
     var libFilename = "/Library/Frameworks/PCDesEO.framework";
     PCDesEO = new ExternalObject("lib:" + libFilename); /* FAILS w/ File Not Found */
     PCDesEO.pcLogInit();
};

 

My suspicion is that Illustrator 2021 is interacting badly with the Full Disk Access permissions on Big Sur, but granting Illustrator 2021 full disk access permissions has not solved the problem. Has anyone faced a similar problem? Any suggestions on how to tackle? 

TOPICS
Scripting

Views

308

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

correct answers 1 Correct answer

Explorer , Nov 01, 2021 Nov 01, 2021

This issue seems specific to Illustrator 2021. It got resolved by upgrading to Illustrator 2022. 

Votes

Translate

Translate
Adobe
Explorer ,
Nov 01, 2021 Nov 01, 2021

Copy link to clipboard

Copied

LATEST

This issue seems specific to Illustrator 2021. It got resolved by upgrading to Illustrator 2022. 

Votes

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