Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Duplicate and increment text

$
0
0

Hi

 

Never used Illustrator scripting bebore.

Could soeone please write me a script that takes as arguments.

 

text : a text element on the artwork (not sure if this is possible)

inX, incY : Incremental y co ordinate (x less impotant)

numOfSteps : Number of duplcates made

 

This script should then make duplicats of the text element and increment the number

 

 

So if I have a text box with the text '01'

And I enter <numOfSteps> 4, <inX> 0, <incY> 30. I would like 4 duplicates to be made spaced 30 pixels apart.

 

For example,

 

01       }

           } 30 pixels

02

 

03

 

04

 

05

 

It is imprtant the numbers are written in 2 digits 01 instead of just 1

 

An additional startNum variable would be very useful to state the number inside the first text field which the steps will be started from.

 

 

Hope this is even possible would save me a lot of time.

 

 

I'm good at actionscript so if it's written in that I could edit it, not that important though.

 

Thanks in advance,

 

Simon


Viewing all articles
Browse latest Browse all 12845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>