Skip to main content
Inspiring
February 1, 2021
Answered

How to disable the Match Pasteboard to Theme Color using script

  • February 1, 2021
  • 2 replies
  • 598 views

hi,

I'm trying to disable the "Match Pasteboard to Theme Color" option using below statement;

app.pasteboardPreferences.matchPreviewBackgroundToThemeColor=false;

but it does not work.

Advice will be greatly appreciated. Cheers...

This topic has been closed for replies.
Correct answer BarlaeDC

Hi,

From the docs.

 

pasteboardColorPreference

Number

read/write

Specify the Pasteboard color preference (0 or 1). Specify 0 to set preference to Default White, and 1 to set preference to Match with Theme Color.

 

Malcolm

2 replies

BarlaeDC
Community Expert
BarlaeDCCommunity ExpertCorrect answer
Community Expert
February 2, 2021

Hi,

From the docs.

 

pasteboardColorPreference

Number

read/write

Specify the Pasteboard color preference (0 or 1). Specify 0 to set preference to Default White, and 1 to set preference to Match with Theme Color.

 

Malcolm

Inspiring
February 10, 2021

Thanks and where to get the docs? 

Community Expert
February 10, 2021
-Manan
Community Expert
February 1, 2021

Try the following

app.generalPreferences.pasteboardColorPreference = 0

-Manan

-Manan