Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.