Skip to main content
Balaji Murugesan
Known Participant
October 19, 2023
Question

Unzip a file using JS prototype/library for InDesign Javascript

  • October 19, 2023
  • 1 reply
  • 344 views

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

This topic has been closed for replies.

1 reply

Anantha Prabu G
Legend
October 19, 2023
Thanks,PrabuDesign smarter, faster, and bolder with InDesign scripting.
Balaji Murugesan
Known Participant
October 19, 2023

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.