• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to disable the Match Pasteboard to Theme Color using script

Participant ,
Jan 31, 2021 Jan 31, 2021

Copy link to clipboard

Copied

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...

TOPICS
Scripting

Views

313

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Feb 01, 2021 Feb 01, 2021

Try the following

app.generalPreferences.pasteboardColorPreference = 0

-Manan

Votes

Translate

Translate
Community Expert , Feb 02, 2021 Feb 02, 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

Votes

Translate

Translate
Community Expert ,
Feb 01, 2021 Feb 01, 2021

Copy link to clipboard

Copied

Try the following

app.generalPreferences.pasteboardColorPreference = 0

-Manan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 02, 2021 Feb 02, 2021

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 09, 2021 Feb 09, 2021

Copy link to clipboard

Copied

Thanks and where to get the docs? 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 09, 2021 Feb 09, 2021

Copy link to clipboard

Copied

LATEST

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines