This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#targetengine main | |
try { | |
//for PS and ID, we need the display name of the Color Settings file. This is what you see in Edit>ColorSettings | |
var colorSettingsFile = "North America Prepress 2"; | |
if (app.name === "Adobe InDesign") { | |
//InDesign uses app.colorSettings.cmsSettings | |
app.colorSettings.cmsSettings = colorSettingsFile; | |
//alert("Color Settings are now: " + app.colorSettings.cmsSettings); | |
} else if (app.name === "Adobe Photoshop") { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Thumbnail generator for AEM Assets | |
//This script creates a new 319x319 document, imports the payload onto the page, and centers | |
//and scales the payload to fit the page. | |
//It next exports the image as a series of thumbnail renditions. | |
//Lastly, it posts the renditions back to AEM as renditions of the payload. | |
//============================================================================== | |
// Export the inbound document as AEM Thumbnails | |
//============================================================================== |