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

Can you help me to write an AI script? Will pay

Guest
Feb 27, 2017 Feb 27, 2017

Copy link to clipboard

Copied

Can you write a script that when I run it, all the layers will fit into their positions in the label (might have more layers later on). The font will remain the same as in the label, but the size of the text will get bigger or smaller to fit into the text box. The pic in the layer will replace the pic in the label, and change to the same size in the label.

I will send you a sample ai file if you are willing to do it.

Thanks a lot.

Views

355

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
Adobe
Community Expert ,
Feb 27, 2017 Feb 27, 2017

Copy link to clipboard

Copied

It is always interesting to get a sample file with elaborate instructions, so one can see if the task could even be done without scripting. Can you share a sample right on this forum?

Based on your brief description I haven't a clue what you're going to achieve.

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
Guest
Feb 27, 2017 Feb 27, 2017

Copy link to clipboard

Copied

!123.jpg

Please see the pic above.

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
Community Expert ,
Feb 27, 2017 Feb 27, 2017

Copy link to clipboard

Copied

You can achieve most of what you want with Illustrator Variable data.

There is a script linked here that will help you to turn a regular excel sheet into XML for use with this method.

Illustrator Variable Data Script - PrintPlanet.com

Data-driven graphics through templates and variables in Illustrator

It will pull all of your information into the layout, but as far as I know, there is not easy way to automatically change the text size to fix the box.

(In my opinion, the labels would look better sitting together on a retail shelf if the text box were sized to accommodate the longest text set, and then the text on all labels were left the same size)

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
Community Expert ,
Feb 27, 2017 Feb 27, 2017

Copy link to clipboard

Copied

We actually have a scripting forum so you may want to post there instead.

Illustrator Scripting

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 ,
Mar 06, 2017 Mar 06, 2017

Copy link to clipboard

Copied

LATEST

To fit text into the text box, extend the VariableImporter workflow to include a separate script to be ran on each data set as described here:
https://www.linkedin.com/pulse/adobe-illustrator-variable-data-dealing-overset-text-vasily-hall

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