Skip to content
New issue

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

delete_gremlins & make_defaults – error setting default CMYK profile? #11

Closed
pchiorean opened this issue Mar 29, 2020 · 3 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@pchiorean
Copy link
Owner

pchiorean commented Mar 29, 2020

delete_gremlins.jsx & make_defaults.jsx – error setting 'ISO Coated v2 (ECI)' profile on Middle East InDesign

@pchiorean pchiorean added the bug Something isn't working label Mar 29, 2020
@pchiorean pchiorean self-assigned this Mar 29, 2020
@pchiorean
Copy link
Owner Author

pchiorean commented Mar 30, 2020

var doc = app.activeDocument;

for (i = 0; i < doc.cmykProfileList.length; i++) {
    if (/ISO\sCoated\sv2\s\(ECI\)/.exec(doc.cmykProfileList[i])) {
        doc.cmykProfile = doc.cmykProfileList[i]; break;
    }
}

@pchiorean
Copy link
Owner Author

Sorin has:

Adobe InDesign Default CMYK,Coated FOGRA27 (ISO 12647-2:2004),Coated FOGRA39 (ISO 12647-2:2004),Coated GRACoL 2006 (ISO 12647-2:2004),Japan Color 2001 Coated,Japan Color 2001 Uncoated,Japan Color 2002 Newspaper,Japan Color 2003 Web Coated,Japan Web Coated (Ad),U.S. Sheetfed Coated v2,U.S. Sheetfed Uncoated v2,U.S. Web Coated (SWOP) v2,U.S. Web Uncoated v2,Uncoated FOGRA29 (ISO 12647-2:2004),US Newsprint (SNAP 2007),Web Coated FOGRA28 (ISO 12647-2:2004),Web Coated SWOP 2006 Grade 3 Paper,Web Coated SWOP 2006 Grade 5 Paper,Euroscale Coated v2,Euroscale Uncoated v2,Generic CMYK Profile,Japan Color 2011 Coated,Photoshop 4 Default CMYK,Photoshop 5 Default CMYK

@pchiorean
Copy link
Owner Author

Closed by 5458a90.

@pchiorean pchiorean changed the title Error setting CMYK profile? delete_gremlins & make_defaults – error setting default CMYK profile? Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant