Skip to content

Instantly share code, notes, and snippets.

@UskeS
Created March 25, 2021 01:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save UskeS/c326b70e60d42ecc4d875e7c932941e8 to your computer and use it in GitHub Desktop.
Save UskeS/c326b70e60d42ecc4d875e7c932941e8 to your computer and use it in GitHub Desktop.
[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