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

SCRIPTING HELP: duplicating image into grid?

New Here ,
Oct 30, 2017 Oct 30, 2017

Copy link to clipboard

Copied

Hello everyone! So scripting is my area of weakness, but I wanted to ask if anyone could help me write a script template that could take my image and duplicate it into a grid. Here is an example image:

7975713C-1E4E-4CD2-9D51-FAEF88D9B26F.jpeg

I start by taking this image and clipping it into a circle shape. From here, the script would need to do the following:

1. duplicate it into a 5x6 grid

2. export this file into .PDF format, for printing on standard letter 8.5" x 11" paper

Here is a screenshot of my grid template:

Screen Shot 2017-10-30 at 2.52.45 PM.png

I'm also linking my template illustrator file here: Dropbox - blank CD.ai

Please see screenshot of the desired output below:

Screen Shot 2017-10-30 at 2.42.29 PM.png

The goal is to create a script template that works so I can do this with any image on my computer. Can anyone help? Thanks in advanced!

TOPICS
Scripting

Views

564

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

Valorous Hero , Oct 30, 2017 Oct 30, 2017

Why not start with a template which has one little circle with a placed image clipped inside of it. Now, all you have to do is relink the image to have the new picture appear in the circle at the smaller size. Then use the Live Transform effect on your one circle to create your grid of circles.

To use Live Transform effect - select the circle group and apply a transform effect with a horizontal move and some copies. Then apply the same effect again, this time with a vertical offset and a number o

...

Votes

Translate

Translate
Adobe
Valorous Hero ,
Oct 30, 2017 Oct 30, 2017

Copy link to clipboard

Copied

Why not start with a template which has one little circle with a placed image clipped inside of it. Now, all you have to do is relink the image to have the new picture appear in the circle at the smaller size. Then use the Live Transform effect on your one circle to create your grid of circles.

To use Live Transform effect - select the circle group and apply a transform effect with a horizontal move and some copies. Then apply the same effect again, this time with a vertical offset and a number of copies.

In this image, I have this applied to a path, but this can be applied to a group containing a clipped placed file too.

Screen Shot 2017-10-30 at 10.30.06 PM.png

Screen Shot 2017-10-30 at 10.30.43 PM.png

Using a library of graphic of styles you can have all sizes of step-&-repeat accessible via click in a list view.

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
New Here ,
Nov 02, 2017 Nov 02, 2017

Copy link to clipboard

Copied

This is great for setting up the grid, however I am having issues "recording" the transform effect action. I want to automate this for future use. What am I doing wrong?

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
Valorous Hero ,
Nov 03, 2017 Nov 03, 2017

Copy link to clipboard

Copied

LATEST

You have to save your transforms in a graphic style and an action can apply the graphic style of a particular name that is present in the document.

To record a live effect into a graphic style, use Window > Graphic Styles to use the graphic styles panel.

If you have several different transform configurations, and do not care for the entire library of transform graphic styles to be present inside your active document, you can build into your actions an action which copy/pastes from a file all artwork, and you can have the graphic styles attached to this artwork - it will make them appear in your document you're pasting into.

Such an action to fetch styles will need to open a file, select all, copy, then close active file, then do paste to paste into the file that was originally open, then do delete to remove the pasted artwork - the styles stay in the document.

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