20 Free and Useful Adobe Illustrator Scripts

20 Free and Useful Adobe Illustrator Scripts

You have a unique opportunity to expand the functionality of Adobe Illustrator. There is nothing easier than using scripts, just select the object and run the script you need! The scripts presented in this post will save you plenty of time and will make your work more pleasant and efficient. Believe me, it is worth your attention. All the scripts have been tested in Illustrator CS3 and CS4.


Installing Scripts

To save the necessary script to your hard drive, it is desirable to keep them in the same place, for example in the Scripts folder. To run the script go to File > Scripts > Other Scripts (Command + F12).

Now open the folder with the scripts and run the necessary script.


Adjust Dashes (offset)

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script adjusts dashed lines in the selection to the center of the anchor points. It should be noted that this script clears fill colors, if your object originally had a fill color it will need to be refilled.


Arc Correction

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script corrects free-hand arc-like paths in the selection. To use, just select the paths and run this script.


Arrow-A, Arrow-V

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script draws arrow for each selected end (anchor) of the selected paths “A” and “V” mean the shape of the head of the arrow. The visible peaks of arrows exactly locate at each visible end of the selected paths The end of the paths are trimmed in order to avoid sticking out from the head of the arrow.


Circumcircle

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script draws Circumcircles for each selected path. However, you must understand you cannot draw Circumcircles to all figures.


Common Tangents

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script draws common tangents to the selected curved lines, if they are detected.


Divide (length)

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script divides each selected segment into a specified number, based on the length. The length of each segment in each divided segments is equal.


Extend Handles

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script extends all handles of selected anchor points with specified rate. Using this script it is convenient to change the value of handles of a selected anchor without changing their angle.

Here’s a few indicators and the relevant result for a better understanding of the script performance.

  • 100 : original size
  • 120 : extend 20%
  • 80 : shorten 20%
  • 0 : remove handles
  • -100 : reverse handles

Merge Overlapped Anchors

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script merges nearly overlapped anchor points And reports how many anchor points had been reduced. In order to understand the importance of this great script, let’s test it. Create a straight line and go to Object > Expand

As a result, we have five anchor points, although there should be only 4 of them, one point is certainly an extra one!

This fact greatly makes the editing of such an object difficult, especially once you are dealing with irregular shapes. This primarily relates to work in Adobe Illustrator CS3

Now let’s run the script – the number of anchor points have dropped to more than half the original number!

I recommend using this script always after Expand, Expand Appearance, and Offset Path commands, especially if you are going to edit the achieved objects.


Round Any Corner

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script rounds selected corners of Path Items. Especially for the corners at the intersection point of curves, this script may work better than the “Round Corners” filter (but slower).

How To Use: 1. Select the anchor(s) or whole path(es) to round. 2. Run this script. A prompt box appears to set the rounding radius. Input the radius in point, then click OK.


Tree-like

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script draws a tree-like shape at the center of the artboard. The trees are made with various width of lines. So please be careful about setting the Scale Tool when you want to scale them.


Tangents From A Point

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script draws tangent lines from a selected anchor point to selected curved segments. You can use an isolated point as the starting point. In this case, the starting isolated point is removed after drawing tangents. Drawn tangents have handles at ends. So you can move the starting side of the anchor point with keeping tangency.


Add Highlight And Shadow Swatches

Created by John Wundes

Go to Download (available at Wundes.com)

A simple script for Animators. This script takes the current fill color from the color palette. A prompt will ask you to name the color, then it adds it to the swatch palate, along with the highlight and shadow for that color.


Layer Export

Created by William Ngan

Go to Download (download will start automatically)

This script automatically exports each layer in an Illustrator file as a separate PNG or PDF, in 3 easy steps: 1. Layer names will become the file names. Rename if needed. 2. Run the script. 3. Find the exported files in the same folder as your original Illustrator file.


Layer Compose

Created by William Ngan

Go to Download (download will start automatically)

This script automatically merges content and template layers to generate compositions. Template layers: these are the fixed elements. For example, in a webpage layout, the header and footer may stay constant. Content layers: these are the dynamic elements. For example, they may show design options of a webpage layout. First, change all template layers’ names. They should start with an underscore ( _xyz ). Then simply run the script.


Specify!

Created by William Ngan

Go to Download (download will start automatically)

Select one object and run the script, Confirm the orientation of the measurement. This will specify the width or height of the object. Select two objects and run the script. This will specify the horizontal or vertical gap between the two objects. If you group several objects and run the script, you will get the size of the group of objects.


Dup At Selected Anchors

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script duplicates the foreground object in the locations of the selected anchor points.


Join Reasonably

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script joins the open paths in the selection together with reasonable order.


Generate Handles

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script generates handles for each selected path. Generated handles are extended at right angles to the line connecting the anchor and the center of the path.


Metaball (Arc). Metaball

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script may help to create Metaball-like shapes. “Metaball (Arc)” uses arcs to connect shapes. “Metaball” uses suitable bezier curves. Combining the shapes using Pathfinder may result in several overlapping anchor points on the path. If it occurs, it may help to use another script “Merge Overlapped Anchors”.


Dance

Created by Hiroyuki Sato

Go to Download (download will start automatically)

This script adds a new layer and draws dancing people on it. The dancers are made with various width of lines. So please be careful about the setting of Scale Tool when you want to scale them.

If you know any additional useful scripts, feel free to leave links to them in the comments section.


You may also like …

Lines About to Be Generated

Illustrator Scripts

Javascripts for Illustrator

John’s Scripts 4 Adobe Illustrator

  • http://vforvectors.com/ Marius

    Very useful collection. I especially like the “Round Any Corner”. Thanks!

  • http://twitter.com/vincentveri Vincent Veri

    Thanks for sharing. I really like the layer export

  • http://www.skorky.cz Petr

    AWESOME, veryhelpful METABALL rulez ;)

  • http://www.theinkcreative.com Sudarshan Gurung

    Nice collection. I haven’t used scripts before but I’ll try some of them. thanks for sharing. cheers!

  • hdcreations

    Thanks a lot…. Its very very Usefull, Bring More…….\../

  • http://www.tylermccutchan.com Tyler

    Nice collection. Will be giving Tree_like a spin.
    Thanks!

  • hdcreations

    Thanks a lot…. Its very very Useful, Bring More…….\../

  • Spartacus

    There are some cool scripts here I didn’t know existed but can see myself using now.

    Thanks a lot.

  • http://jilldzines.blogspot.com Jill DZ

    Excellent – love them! Thank you! I can especially see using the merge overlapped anchors (I will use this one a LOT! These can be so pesky!), round any corner, layer export, and metaball – really super-handy! (and I suppose I have to admit that I had a dyslexic moment… at first I read “metaball” as “meatball” and wondered what the heck I would want with meatballs!) LOL! Super-helpful – thanks! :)

  • http://www.jipjip.com/ Jip

    Wow! Great scripts. I even found a lot I didn´t knew. Thx!

  • Kyle

    Very nice,

    Although still looking for a script out there to the equivolent “Collect for Output” in freehand.
    i.e collect all pictures/fonts used in document and place in one file

    ….. I know i should be using InDesign for that, but illustrator is so much more nicer.

  • Jeff

    These are interesting as I was just starting to learn about scripts the other day.
    Thanks A Lot :-)

  • http://www.satedproductions.com Michael Thompson

    For the love of god Tuts, you could at least include the proper paths for adding scrips so you don’t have to click “other scripts” and browse your HD every time you want to use one of these. The point (of many of these at least) is to save time, right?

    To have scripts appear in the scripts menu drop your script file(s) into the following directories, adjusting for CS3/CS4/CS5 and localization (e.g., “en_US”) when appropriate.

    On Windows:
    C:\Program Files\Adobe\Adobe Illustrator CS4\Presets\en_US\Scripts

    On Mac:
    /Applications/Adobe Illustrator CS4/Presets/en_US/Scripts

    BAM! No more browsing your hard drive.

    • Iaroslav Lazunov
      Author

      Thank you for your important observation.

  • ditoredaz

    These is very nice n usefull thank’s for the tips

  • Sand2d

    Great Stuff! Thanks for putting it out there.
    I’m loving the Layer Export script…Which Adobe PDF Preset is it set to? I assume Illustrator Default.

    Not that you should take requests, but any advice on tweaking this so ALL text is outlined?

  • http://www.alexmoitt.com hudson

    Great scripts – these are very useful, thanks!

  • anne

    I didn’t even know that IIlustrator has scripts on them. Glad to have found your site and of course, thanks for sharing! Great site!

  • jonathan charles

    thanks for this, i have been scouring the net for just one of these scripts, and the whole post has broadened my mind – excellent

  • vip

    Wow! nice.
    Question…Export to PDF script, it there way to make final PDF files smaller?
    When I manually make PDF files out of Illustrator layers, I use “Print to PDF” which makes files aprox 600 kb…when I use this script it makes 6, 300 kb pdfs.

    • http://bucketothought.com/loungekat/blog/ LoungeKat

      Print to PDF uses a different form of conversion, which what I’ve been told (when I worked at a PSD software company) is far superior to the make PDF you get in the Adobe Creative Suite.

  • rajesh

    Dear all,

    It’s excellent and amazing scripts. Many many thanks for the brain worked behind this and this kind of contribution is very hightly appreciated.

  • Mahabub

    Very USEFUL, Thanks!!!

  • Ramesh Vishwakarma

    Really nice collection of script LOVE THIS.

  • Andreas

    Very usefull scripts! :)

    Is there a script to export layers to seperate pdf files? (Illustrator CS3)

  • http://www.AliceGraphix.com Jen K

    Perfect! I was searching for something to speed up my design process & some of these will do the trick perfectly!

    Thank you.

  • DanOhh

    Thank you very much! This will make life a lot easier.

  • http://www.artgoddess.org ArtGoddess

    Hello!

    Love the Tree-like Created by Hiroyuki Sato one!

    Is possible to have the same for plan view? Is possible to contact the author for this?

    Thank you!!!

  • JS Dennison

    The merge overlapped anchors will save me HOURS of work in prepping artwork for our vinyl plotter and CNC router. Those pesky points can cause the plotter to do strange things. Picking through points is a huge time consuming process. You may have just changed my life!

    • Vermine

      I just discovered those scripts and they’re awesome.

      Thanks to this site for having selected them, and also a huge thanks to Hiroyuki Sato.

      To all who said it changed their lives and saved them hours of work, you can donate to Sato here:
      http://lines-about-to-be-generated.blogspot.com/
      Well deserved.

  • Bobby

    its scripts are save my time and its very helpful to work,thanks

  • David Entwistle

    Just wanted to take up a few words on the web to say a grateful ‘thank you’ to Hiroyuki Sato for his script ‘Merge overlapping anchors’. If you regularly use Pathfinder in Illustrator, it saves vast amounts of time in removing redundant (but invisible) anchors.

  • http://www.mattrobb.com Matt

    So True Dave. I use merge overlapping daily. Round any corner is also a great script and works much better than Illy’s built in round corners effect, I just wish it had a preview option.

    One I felt was missing that I find useful is the CMYK to PMS script from http://wundes.com/JS4AI/

    Save this link to download:
    http://wundes.com/JS4AI/CMYKtoPMS.js

  • Max

    Thanks

  • Wallisson Narciso

    Ohhh Great! Thanks for these tips! It helps me here, no doubt.

  • opik074

    I never know that javaScript able to run this things :o

  • Just curious

    why the fuk aren’t those in Illustrator by default ? now I’m thinking that adobe Illustrator is just a peace of sh!t for lackin those small but very important features

    shame on you adobe

  • Marcos Vasconcelos

    drawscript the best ever!

  • http://twitter.com/hilukasz Łukasz Wieczorek