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

Font file like: 'AdobeFnt21.lst', Not able to delete

Community Beginner ,
Dec 12, 2023 Dec 12, 2023

Copy link to clipboard

Copied

Hi Team,

In our code, we are using InDesign Server 2023. And we are using font files and IDML for exporting as PDF through InDesignScript.jsx file. But after execution when we are trying to delete the directory where IDML and font file exist, the font file is not deleting and showing alert like: The process cannot access the file 'Stratum1-Bold.otf' because it is being used by another process .

Please help me regarding this.

 

Thanks in advance.

Regards,

Bhaskar Parmar

 

TOPICS
Performance

Views

239

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

Community Expert , Dec 23, 2023 Dec 23, 2023

Can you share the code? 
Just guessing that you probably need to close the file before the script gets to the deletion of the folder/files with fonts. 

 

Hard to know what's going on - can you share more details?

Votes

Translate

Translate
Community Expert ,
Dec 23, 2023 Dec 23, 2023

Copy link to clipboard

Copied

Can you share the code? 
Just guessing that you probably need to close the file before the script gets to the deletion of the folder/files with fonts. 

 

Hard to know what's going on - can you share more details?

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
Community Beginner ,
Dec 25, 2023 Dec 25, 2023

Copy link to clipboard

Copied

Hi @eugene,
Yes, You are right. We should close the file before the script gets return result.
Thanks for your support :-).

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
Community Expert ,
Dec 23, 2023 Dec 23, 2023

Copy link to clipboard

Copied

Lst file is a temporary file that is created by InDesign for fonts loaded from the Document Fonts folder. I suppose your document is not closed when you are trying to delete the folder.

-Manan

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
Community Beginner ,
Dec 25, 2023 Dec 25, 2023

Copy link to clipboard

Copied

LATEST

Hi @manan
Yes, You are right. We need to close the Document before the script gets return result.
Thanks for your support 🙂 .

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