What is the syntax for matching the pasteboard to theme color?
On the preferences pages, under interface, under Appearance, there is a check box for Matching the Pasteboard to Theme Color.
I can’t seem to get the correct information.
The only thing I can find is:
tell pasteboard preferences
set match preview background to theme color to true
end tell
which isn’t what I am looking for.
Also, while we are at it, what about setting the pasteboard horizontal and vertical margins?
Here is what I am up to, because I crash frequently and the preferences get hosed, I have a script that resets all my preferences:
tell application "Adobe InDesign CC 2017"
activate
tell document preferences
set facing pages to false
end tell
-- this part does not work
tell pasteboard preferences
set pasteboard margins to {2, 2}
set match preview background to theme color to false
end tell
--the above part does not work
tell general preferences
set use application frame to false
set application bar shown to false
set show legacy new document dialog to true
set ui brightness preference to 1.0
end tell
tell view preferences
set horizontal measurement units to inches
set vertical measurement units to inches
end tell
tell gpu performance preferences
set enable animated zoom to false
end tell
tell preflight options
set preflight off to true
end tell
tell image preferences
set preserve bounds to false
end tell
do script "app.applyWorkspace('SmartStream Designer');" language javascript
end tell
Your assistance will be greatly appreciated
David