Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[InDesign][ExtendScript] Toggle between "Dot Gain 15%" and "Working CMYK" for display proofing settings.
/**
* @fileoverview Toggle between "Dot Gain 15%" and "Working CMYK" for display proofing settings.
* @author @Uske_S
* @version 0.1.0
*/
var actWin = app.activeWindow;
if (actWin.proofingType === ProofingType.CUSTOM) {
actWin.proofingType = ProofingType.WORKING_CMYK;
} else {
actWin.proofingType = ProofingType.CUSTOM;
actWin.proofingProfile = "Dot Gain 15%";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment