Skip to content

Instantly share code, notes, and snippets.

@arlodesign
Last active November 27, 2021 09:42
Show Gist options
  • Star 16 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save arlodesign/6270195 to your computer and use it in GitHub Desktop.
Save arlodesign/6270195 to your computer and use it in GitHub Desktop.
100% Pixel-for-Pixel Zoom when designing for web/mobile/tablet in InDesign
// Run this script when using InDesign for web/mobile/tablet comps
// Calculates zoom based on 72ppi, so 100% shows pixel-perfect sizing
app.generalPreferences.customMonitorPpi = 72;
app.generalPreferences.useCustomMonitorResolution = true;
// Run this script to return InDesign to its normal zoom behavior
// of calculating 100% for print based on monitor's ppi
app.generalPreferences.useCustomMonitorResolution = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment