Sunday, December 17, 2017

#1 2017-08-31 11:11:19 am

dklucznik
Member
Registered: 2005-07-19
Posts: 80

match preview background to theme color

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:

Applescript:


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:

Applescript:


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

Offline

 

#2 2017-09-07 06:59:10 am

dklucznik
Member
Registered: 2005-07-19
Posts: 80

Re: match preview background to theme color

Is there no one that can help with this request?
david

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)