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

115

Likes

translate

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

Adobe Community Professional , Feb 01, 2021 Feb 01, 2021
Try the following app.generalPreferences.pasteboardColorPreference = 0 -Manan

Likes

translate

Translate

Translate
Adobe Community Professional , 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

Likes

translate

Translate

Translate
Adobe Community Professional ,
Feb 01, 2021 Feb 01, 2021

Copy link to clipboard

Copied

Try the following

app.generalPreferences.pasteboardColorPreference = 0

-Manan

Likes

translate

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
Adobe Community Professional ,
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

Likes

translate

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? 

Likes

translate

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
Adobe Community Professional ,
Feb 09, 2021 Feb 09, 2021

Copy link to clipboard

Copied

Likes

translate

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