scripting TransparencyPreference.blendingSpace.CMYK

Community Beginner ,
Feb 24, 2021 Feb 24, 2021

Copy link to clipboard

Copied

Does this still work? I keep getting an error when I try. All I want to do is have a script that changes the transparency blend space.

TOPICS
Print, Scripting, SDK

Views

52

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 1 Correct Answer

Adobe Community Professional , Feb 24, 2021 Feb 24, 2021
What's your exact code that it's erroring on. What's the error? The following should work:   app.documents[0].transparencyPreferences.blendingSpace = BlendingSpace.CMYK;

Likes

translate

Translate

Translate
Adobe Community Professional ,
Feb 24, 2021 Feb 24, 2021

Copy link to clipboard

Copied

What's your exact code that it's erroring on. What's the error? The following should work:

 

app.documents[0].transparencyPreferences.blendingSpace = BlendingSpace.CMYK;

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