简体   繁体   English

Extendscript 是否能够使用文件对象压缩/解压缩文件?

[英]Is Extendscript able to zip/unzip a file using File Object?

我找不到很多关于扩展脚本文件对象的文档,我想知道我是否能够使用扩展脚本中的文件对象压缩/解压缩文件。

On Windows you can make a .BAT file from ExtendScript and run it at once.在 Windows 上,您可以从 ExtendScript 创建一个 .BAT 文件并立即运行它。 See my answer here: How to use extendscript to open another application?在此处查看我的答案: 如何使用扩展脚本打开另一个应用程序?

Instead of:代替:

c:/Windows/notepad.exe

there should be something like:应该有类似的东西:

unzip c:/temp/my_file.zip

I suppose something similar can be done on MacOS via bash script or AppleScript.我想类似的事情可以通过 bash 脚本或 AppleScript 在 MacOS 上完成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM