Skip to content

Instantly share code, notes, and snippets.

@asilbalaban
Created September 15, 2022 11:05
Show Gist options
  • Save asilbalaban/ea4c066daeaf9c5b8547414fd494e7d1 to your computer and use it in GitHub Desktop.
Save asilbalaban/ea4c066daeaf9c5b8547414fd494e7d1 to your computer and use it in GitHub Desktop.
Custom export script for Adobe Illustrator
// 3D sunum için export scripti
var document = app.activeDocument;
var exportOptions = new ExportOptionsJPEG();
exportOptions.artBoardClipping = true;
exportOptions.antiAliasing = true;
exportOptions.qualitySetting = 100;
scaleTo = 24.91
if (scaleTo) {
exportOptions.verticalScale = scaleTo;
exportOptions.horizontalScale = scaleTo;
}
document.exportFile(File("~/asilme/jordanred_3d_export/export_folder/test.jpg"), ExportType.JPEG, exportOptions);
alert("Başarılı bir şekilde kaydedildi.");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment