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

Unzip a file using JS prototype/library for InDesign Javascript

Participant ,
Oct 19, 2023 Oct 19, 2023

Hi Team,
app.unpackageUCF("path to zip","destination folder");

 

The above line throws an error if the zip file contains more subfolders or files in Indesign. 

 

Team, please let me know if any JS prototype/library to unzip a file.

 

Thanks

TOPICS
Scripting , SDK
231
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
Engaged ,
Oct 19, 2023 Oct 19, 2023

Hope this helps:

 

https://community.adobe.com/t5/indesign-discussions/unzip-files/td-p/7593955

 

Thanks,

Prabu G

Thanks,
Prabu
Design smarter, faster, and bolder with InDesign scripting.
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
Participant ,
Oct 19, 2023 Oct 19, 2023
LATEST

Hi @Anantha Prabu G , 

Thanks for the suggestion,

I am working Windows environment.

I tried executing the bat file to unzip, but this approach won't wait for the unzip process to finish. It goes to the next process,

In this case, we face problems like missing files/images.

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