Created
March 25, 2021 01:54
-
-
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.
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
/** | |
* @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