Skip to content

Instantly share code, notes, and snippets.

@ten-A

ten-A/unpackager.jsx Secret

Created Nov 16, 2019
Embed
What would you like to do?
(function(){
var f = File.openDialog("Please select your archive.");
f.fsName.match(/(.+?)\.|docx$|xlsx$|pptx$|zip$|idml|/);
var fdr = new Folder(RegExp.$1);
if (!fdr.exists) fdr.create();
else return;
app.unpackageUCF(f, fdr);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment