Creating a Certain Action in Illustrator based on Colour

New Here ,
Nov 26, 2020

Copy link to clipboard

Copied

Hello,

 

I wish to create a very specific Action for Design to Artwork setups.

I'm supplied a Dieline by an outside Designer and then I have to set up artwork based on our printers capabilities and standards. I have tried to seperate different colours into different layers by creating an action but it hasn't worked and I'm still doing this manually. I can describe the process below.

 

Select Same Stroke Colour (Red) > Put in new Layer 2

Select Same Stroke Colour (Green) > Move in Layer 2

Select Same Stroke Colour (Black) > Put in new Layer 3

Select Same Fill Colour (Black) > Move in Layer 3

Select Same Stroke Colour (Blue) > Put in new Layer 4

Change Stroke Colour of Sheet (Pink) to no stroke

Resize Artboard to fit Selected Art (Sheet)

 

This is really the whole process - it's simple but would be a lot quicker with actions. I would then rename the layers - Layer 2 Dieline, Layer 3 Dimensions, Layer 4 Artwork, Layer 1 would become Bounding.

 

The colours that are supplied to me in the Designers file are all RGB Makeups but they always remain the same with each file - for example; the RED is always the same breakdown of RGB in every file they send.

 

Is there a way to do this?

 

Thanks.

 

Adobe Community Professional
Correct answer by Kurt Gold | Adobe Community Professional

I think I found out why you get the error messages.

 

The black objects that are supposed to move to the Dimensions layer are defined as greyscale objects instead of RGB.

 

Please try the following steps before you start the action:

 

  1. Open the file, select all and go to the Edit menu > Edit Colours > Convert to RGB.
  2. Open the Layers palette and make sure that Layer 1 is highlighted (not selected).
  3. Start the action.

 

Does it work now?

 

If you don't want to go these additional steps, you may download and try this slightly modified action below (it should take care of the greyscale objects).

 

https://drive.google.com/file/d/1ct121043LalexLfMye89SCyLuIRF5WrM/view?usp=sharing

 

TOPICS
How to, Scripting

Views

140

Likes

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

Creating a Certain Action in Illustrator based on Colour

New Here ,
Nov 26, 2020

Copy link to clipboard

Copied

Hello,

 

I wish to create a very specific Action for Design to Artwork setups.

I'm supplied a Dieline by an outside Designer and then I have to set up artwork based on our printers capabilities and standards. I have tried to seperate different colours into different layers by creating an action but it hasn't worked and I'm still doing this manually. I can describe the process below.

 

Select Same Stroke Colour (Red) > Put in new Layer 2

Select Same Stroke Colour (Green) > Move in Layer 2

Select Same Stroke Colour (Black) > Put in new Layer 3

Select Same Fill Colour (Black) > Move in Layer 3

Select Same Stroke Colour (Blue) > Put in new Layer 4

Change Stroke Colour of Sheet (Pink) to no stroke

Resize Artboard to fit Selected Art (Sheet)

 

This is really the whole process - it's simple but would be a lot quicker with actions. I would then rename the layers - Layer 2 Dieline, Layer 3 Dimensions, Layer 4 Artwork, Layer 1 would become Bounding.

 

The colours that are supplied to me in the Designers file are all RGB Makeups but they always remain the same with each file - for example; the RED is always the same breakdown of RGB in every file they send.

 

Is there a way to do this?

 

Thanks.

 

Adobe Community Professional
Correct answer by Kurt Gold | Adobe Community Professional

I think I found out why you get the error messages.

 

The black objects that are supposed to move to the Dimensions layer are defined as greyscale objects instead of RGB.

 

Please try the following steps before you start the action:

 

  1. Open the file, select all and go to the Edit menu > Edit Colours > Convert to RGB.
  2. Open the Layers palette and make sure that Layer 1 is highlighted (not selected).
  3. Start the action.

 

Does it work now?

 

If you don't want to go these additional steps, you may download and try this slightly modified action below (it should take care of the greyscale objects).

 

https://drive.google.com/file/d/1ct121043LalexLfMye89SCyLuIRF5WrM/view?usp=sharing

 

TOPICS
How to, Scripting

Views

141

Likes

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
Nov 26, 2020 0
Adobe Community Professional ,
Nov 26, 2020

Copy link to clipboard

Copied

Which version of Illustrator are you using?

 

Can you share one or two sample Illustrator files (.ai)?

 

Likes

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
Reply
Loading...
Nov 26, 2020 0
New Here ,
Nov 26, 2020

Copy link to clipboard

Copied

Latest version of CC 2020. I would be happy to share .ai files in private if that's ok.

Likes

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
Reply
Loading...
Nov 26, 2020 0
Adobe Community Professional ,
Nov 26, 2020

Copy link to clipboard

Copied

Usually it is beneficial to share a public download link, but in case the sample files are confidential, you can send me a private message with further instructions.

 

Likes

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
Reply
Loading...
Nov 26, 2020 0
Adobe Community Professional ,
Dec 07, 2020

Copy link to clipboard

Copied

I've sent you a private message with a download link to an action set that will create the desired layer order based on the confidential sample files you provided.

 

You may try it out and report back if it works for you.

 

Likes

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
Reply
Loading...
Dec 07, 2020 0
New Here ,
Dec 07, 2020

Copy link to clipboard

Copied

Thank you, this is very good - you've done a great job,

It almost does everything we need. The one issue I'm facing is that the dimensions lines (arrows, strokes etc) all still remain in the Artwork Layer - they don't move to the Dieline Layer.

 

Halfway through the action it says "Attribute Setting not currently available" and the same for "Deselect All" after it.

 

Other than that it is very good. If the dimension arrows and strokes can move to the dimensions layer with the dimensions text then it's 100% perfect.

Likes

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
Reply
Loading...
Dec 07, 2020 0
Adobe Community Professional ,
Dec 07, 2020

Copy link to clipboard

Copied

Did you try that with the sample file "SuppliedFile_Template.pdf"?

 

Or did you use another file with different settings?

 

I'm asking because it shouldn't happen what you are reporting in this case.

 

Likes

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
Reply
Loading...
Dec 07, 2020 0
New Here ,
Dec 07, 2020

Copy link to clipboard

Copied

I used it on SuppliedFile_Template.pdf and the above occured.

 

The action is required to be used on all of these types of files though. I just tried it on another file and it works well but the same thing occurs with the dimensions lines not moving to the dimensions layer.

Likes

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
Reply
Loading...
Dec 07, 2020 0
Adobe Community Professional ,
Dec 07, 2020

Copy link to clipboard

Copied

I'm not quite sure why that would happen. It works 100 % for me (based on your sample files).

 

Perhaps you can find a way to repair and modify the action, so that it works for you as well.

 

Likes

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
Reply
Loading...
Dec 07, 2020 0
New Here ,
Dec 08, 2020

Copy link to clipboard

Copied

Thanks. Not sure why this is occuring. Got a friend to try it on a different machine and they get "Attribute Setting not currently available" as well. Not sure why. I'll read up more about actions and try and edit it if possible.

Likes

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
Reply
Loading...
Dec 08, 2020 0
Resources