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

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

173

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

Community Expert , 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;

Votes

Translate

Translate
Community Expert ,
Feb 24, 2021 Feb 24, 2021

Copy link to clipboard

Copied

LATEST

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;

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