Copy link to clipboard
Before a recent update, InDesign documents would just listen to my default preference for Preview Backgrounds to Match to Theme Color, under Preferences > Guides & Pasteboard. I can set that preference, but it doesn't do anything.
This thread recommends using app.generalPreferences.pasteboardColorPreference, but that doesn't do anything (as expected, since it doesn't seem to target an actual document; my application is already using that setting). https://community.adobe.com/t5/indesign-discussions/how-to-disable-the-match-pasteboard-to-theme-col...
How can I use a script to set documents to use Match to Theme Color?
Ah! I see. How about this:
doc.pasteboardPreferences.matchPreviewBackgroundToThemeColor = 1;
Hi @gdwd, I just tried the answer from the post you linked and it worked for me.
app.generalPreferences.pasteboardColorPreference = 1;
If that doesn't work for you, it might be helpful to post your Indesign version and OS.
It "works" in that it changes my application's setting, but it doesn't work in that it doesn't change my document's setting.
Using InDesign 18.0 on Windows 10.