@Stefan – this behavior has changed from CC v9.2 to v10.0.
app.generalPreferences.customMonitorPpi = 72; app.generalPreferences.useCustomMonitorResolution = true;
Before running the script, it would be best to check, how the actual values are with the following snippet:
alert( "Custom Monitor PPI currently is set to: " +app.generalPreferences.customMonitorPpi +"\t\t" +"Usage is set to: " +app.generalPreferences.useCustomMonitorResolution );
To change this behavior back to default, use the following line of code:
app.generalPreferences.useCustomMonitorResolution = false;
thanks for this, but didn't work for me — I don't know why. But I fixed the bug by myself. Wrote a quick blog post about that, if you fancy it you can have a look ;-).
the blog is password protected. do you have the password to give out or can you post the content here?
Password was in the post ;-)!
@Stefan – thank you for testing and sharing that blog entry.
What did the alert script snippet tell you about the values for app.generalPreferences.customMonitorPpi and app.generalPreferences.useCustomMonitorResolution ?
Just don't know why my snippet is not working with your MacBook Pro…
The alert script was fine I just couldn't change the ppi in the end. It basically didn't do anything. Thanks so much anyway it led me basically to the solution ;-).
cool, sorry I missed it. thanks
This AppleScript lets you toggle between the pre CS6 behavior, where 100% equals a 1:1 pixel:monitor ratio—choose Scale for Screen (1:1 pixels). To reset, choose Scale for Print (CS6 Default):
I've also started a thread in feature requests here:
The alert script was fine I just couldn't change the ppi in the end. It basically didn't do anything.
Also the script in your blog probably gets you very close but it might not be an exact 1:1. In CS6 after double-clicking the Zoom tool I can run the script below to get my exact 27" iMac monitor res, which is 108.999996828282 and means 66.055047793651 for the 1:1 display scale
tell application "Adobe InDesign CS6"
set currentzoom to zoom percentage of active window
set imacres to (72 / currentzoom) * 100
Thank you so much. This has been driving me nuts ever since I updated my CC.
The DisplayScale script works perfectly!
But what exactly is changed in the InDesign general preferences when running the script? I can't find any changes in the settings.
The preference isn't (yet?) in the GUI, you have to use scripting to set it.