Script Java for batch Packages in Illustrator

Community Beginner ,
Apr 19, 2021 Apr 19, 2021

Copy link to clipboard

Copied

Hi, 

I'd like to automate packages multiples files in Illustrator, each packages in separate folders, does someone have idea for it, what is the command to Package ? 

As I can see you can : 

save as 

activeDocument.saveAs(destinationFile, options);

export 

activeDocument.exportFile(destinationFile, type, options);

with  type = ExportType.JPEG; or PDF for example, 

but I didn't find something to made Package ?

Thanks,

Christian

 

 

 

 

TOPICS
Scripting

Views

91

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Apr 19, 2021 Apr 19, 2021

Copy link to clipboard

Copied

there isn't a "package" function, but you can collect the files you need yourself

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Apr 19, 2021 Apr 19, 2021

Copy link to clipboard

Copied

Best we can do other than that is to button-push using VBA or AppleScript, yea? Perhaps this could be even met half-way by using preferences to pre-populate the package destination folder (if possible).

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Apr 19, 2021 Apr 19, 2021

Copy link to clipboard

Copied

oh yeah, SendKeys should work.

Likes

Translate

Translate

Report

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
Community Beginner ,
Apr 22, 2021 Apr 22, 2021

Copy link to clipboard

Copied

LATEST

OK, thanks for answers,

BR,

Christian

Likes

Translate

Translate

Report

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