Copy link to clipboard
Copied
Hello,
Is it possible to use java.util.zip.ZipFile from Extend Script?
Thanks.
P.
1 Correct answer
You can invoke a platform language script via app.doScript() - e.g. AppleScript.
From there you can invoke a shell script.
That shell script can invoke the java runtime with any Java program.
Your Java program would then use java.util.zip.ZipFile.
If you need to work with IDML files, there are also the methods app.packageUCF and app.unpackageUCF, but there are reports that they do not work with binary files.
Copy link to clipboard
Copied
You can invoke a platform language script via app.doScript() - e.g. AppleScript.
From there you can invoke a shell script.
That shell script can invoke the java runtime with any Java program.
Your Java program would then use java.util.zip.ZipFile.
If you need to work with IDML files, there are also the methods app.packageUCF and app.unpackageUCF, but there are reports that they do not work with binary files.
Copy link to clipboard
Copied
Thank you.
P.

