We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
""" Changes the value of a color swatch in a specific document. """
import win32com.client import os
app = win32com.client.Dispatch('InDesign.Application.CC.2017')
myInddFile = r'C:\ServerTestFiles\TestDocument.indd' myDocument = app.Open(myInddFile)
myDocument.colors.item("Color Swatch Name Here").colorValue = [100, 100, 100, 0] # CMYK Value
myDocument.Close()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
"""
Changes the value of a color swatch in a specific document.
"""
import win32com.client
import os
app = win32com.client.Dispatch('InDesign.Application.CC.2017')
myInddFile = r'C:\ServerTestFiles\TestDocument.indd'
myDocument = app.Open(myInddFile)
myDocument.colors.item("Color Swatch Name Here").colorValue = [100, 100, 100, 0] # CMYK Value
myDocument.Close()
The text was updated successfully, but these errors were encountered: