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

Actions: How can I change colors automatically

Explorer ,
Sep 27, 2021 Sep 27, 2021

Hi there,
I would like to change QR-codes automatically, which are unfortunately only available in RGB-mode, to only black 100 in CMYK-mode and adjust the drawing area to the size of the QR-code.
To do this, I created an action that first converts the Code from RGB to CMYK. Here Illustrator creates the CMYK colors C = 90 M = 83 Y = 96 K = 84 from R = 0 G = 0 B = 0. In order to only expose the black film in the print I need C = 0 M = 0 Y = 0 K = 100.
Unfortunately I can't get this color to be converted automatically.
What should an action look like that converts the color from RGB to CMYK, then the CMYK color to C = 0 M = 0 Y = 0 K = 100 and then adjusts the drawing area to the graphic?
Thank you for your help
jd

TOPICS
Import and export , Scripting
886
Translate
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 , Sep 27, 2021 Sep 27, 2021

Based on your sample file you may try this one.

 

QR-Code-Black-Maker

 

Instruction:

 

- Download and unzip the action set file.
- Load it into the Actions palette.
- Open a document and run the action.

 

Translate
Adobe
Community Expert ,
Sep 27, 2021 Sep 27, 2021

That's certainly doable with a simple action.

 

Can you perhaps share a sample Illustrator file, so one can have a look at it?

 

Translate
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
Explorer ,
Sep 27, 2021 Sep 27, 2021

Hi Kurt,

I hope so. ;o))

I am looking forward to your solution.

jd

Translate
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
Community Expert ,
Sep 27, 2021 Sep 27, 2021

Based on your sample file you may try this one.

 

QR-Code-Black-Maker

 

Instruction:

 

- Download and unzip the action set file.
- Load it into the Actions palette.
- Open a document and run the action.

 

Translate
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
Community Expert ,
Sep 27, 2021 Sep 27, 2021

I would do it slightly different and skip one convert to CMYK step.

Select All

Edit > Edit Colors > Convert to Grayscale

File > Document Color Mode > CMYK Color

Object > Artboards > Fit to Selected Art

Deselect

 

Translate
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
Explorer ,
Sep 28, 2021 Sep 28, 2021
LATEST

Perfect, thats it.

Thank you very much!

Translate
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
Community Expert ,
Sep 27, 2021 Sep 27, 2021

The second Convert to CMYK step is just meant as a gentlemen's gift to get four sliders in the Colour palette, Ton.

 

Basically it's not necessary at all, of course.

 

Translate
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
Community Expert ,
Sep 27, 2021 Sep 27, 2021

You are a gentleman, Kurt 🙂

Translate
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