Code Monkey home page Code Monkey logo

illustrator-scripts's Introduction

header illustrator-scripts

Behance Dribbble Instagram

Hi everybody :)

This is a collection of JSX scripts for Adobe Illustrator. All scripts created by me, sometimes used part of the code of other authors.

The descriptions for each file can be found in the file's header text. Test environment: Illustrator CS6 (Windows), CC 2017 (Mac OS).

Alphabetical list of scripts

  • ArtboardsRotateWithObjects.jsx
  • ConvertToGradient.jsx
  • Export-selection-as-AI.jsx
  • ExtUngroup.jsx (upd, 25.11.2019)
  • FileVersionInformer.jsx
  • InlineSVGToAI.jsx
  • RenameItems.jsx (new, 13.12.2019)
  • Rescale.jsx (new, 06.11.2019)
  • SelectOnlyPoints.jsx (upd, 29.11.2019)
  • SplitPath.jsx
  • Zoom-and-center.jsx

Installation

  1. Download archive and unzip. All scripts are in the folder jsx
  2. Place <script_name>.jsx in the Illustrator Scripts folder:
    • OS X: /Applications/Adobe Illustrator [vers.]/Presets.localized/en_GB/Scripts
    • Windows (32 bit): C:\Program Files (x86)\Adobe\Adobe Illustrator [vers.]\Presets\en_GB\Scripts\
    • Windows (64 bit): C:\Program Files\Adobe\Adobe Illustrator [vers.] (64 Bit)\Presets\en_GB\Scripts\
  3. Restart Illustrator

Donate (optional)

If you find this script helpful, consider shouting me coffee β˜•οΈ via PayPal or Yandex Money πŸ™‚

ArtboardsRotateWithObjects 1.2

Script to rotate 90 degrees an document artboards with all the objects on it.
Author: Alexander Ladygin. UI: Sergey Osokin.

Usage

  1. Open your file
  2. Run script File β†’ Scripts β†’ ArtboardsRotateWithObjects
  3. Select the options in the dialog box & click Ok button

ArtboardsRotateWithObjects

ConvertToGradient

Convert a flat process color into a matching gradient.
What's new: The script now works with the RGB and CMYK document profile, Spot & Gray colors. Processes compound paths and groups of items.
Based on original script by Saurabh Sharma, 2010.

Usage

  1. Select objects
  2. Run script File β†’ Scripts β†’ ConvertToGradient
  3. Enter a numeric values in input fields

ConvertToGradient

Export selection as AI

Exports all selected objects to AI files.
Based on Layers to SVG 0.1 by Anton Ball.

Usage

  1. Select objects
  2. Run script File β†’ Scripts β†’ Export-selection-as-AI
  3. Select options in dialog box

Export-selection-as-AI

ExtUngroup v.1.2

This script is сan be easily custom ungrouping to all group items & releasing clipping masks in the document.
Based on original script by Jiwoong Song & modification by John Wundes.

Usage

  1. Select object(s) to ungroup or deselect all
  2. Run script File β†’ Scripts β†’ ExtUngroup
  3. Select options in dialog box

Zoom-And-Center

FileVersionInformer

Script for collecting information about the program version of .ai & .eps files in selected folder & subfolder.
Notice: on large files it works slowly, just wait.

Usage

  1. Run script File β†’ Scripts β†’ FileVersionInformer
  2. Choose folder with .ai or .eps files
  3. Wait for the completion message
  4. Look "FileVersionInformer.txt" in source folder

FileVersionInformer

InlineSVGToAI

The script inserts the SVG code as an object from the clipboard into the Adobe Illustrator CC 2014+. Adobe Illustrator CC 2018 v.22.1 (march, 2018) can insert SVG graphics without a script.
Author: Alexander Ladygin. Code refactoring: Sergey Osokin.

Usage

  1. Run script File β†’ Scripts β†’ InlineSVGToAI
  2. Paste your svg code in textarea
  3. Press button "Paste"

InlineSVGToAI

RenameItems

Script to batch rename selected items with many options or simple rename one selected item / active layer.

Usage

  1. Run script File β†’ Scripts β†’ RenameItems
  2. Enter name
  3. Choose options

Rescale

Rescale

Automatic scaling of objects to the desired size. If you draw a line on top with the length or height of the desired object, 'Old Size' will be filled automatically. Units associated with "Document Setup".

Usage

  1. Run script File β†’ Scripts β†’ Rescale
  2. Enter numeric values
  3. Press button "OK"

Rescale

SelectOnlyPoints

After using the Lasso tool or Direct Selection Tool, both Points and Path segments are selected.

Usage

  1. Select points on paths with Direct Selection Tool key: A or Lasso tool key: Q
  2. Run script File β†’ Scripts β†’ SelectOnlyPoints

SelectOnlyPoints

SplitPath 1.0 (ex-PathSubtract)

Powerfull script for subtract shapes from paths. Pathfinder panel in Adobe Illustrator does not do it.

Usage

  1. Place the closed filled shape top
  2. Select shape and line
  3. Run script File β†’ Scripts β†’ SplitPath
  4. Select cut method in dialog box

SplitPath

Zoom and center

Zooms active view to selection or to all object(s) in a document.
Based on original script by John Wundes.

Usage

  1. Select object(s) to zoom or deselect all
  2. Run script File β†’ Scripts β†’ Zoom-and-center
  3. If nothing is selected, you will see a dialog with options

Zoom-And-Center

Testimonials

  • Sergey, these scripts of yours are great. β€” Terry Foxx
  • Wow. I just installed and successfully tested. Outstanding work!!!. β€” Zak Lay
  • Tried your script to export selected objects to separate Ai, works smartly. β€” Dmitry

Don't forget sharing link with a friend πŸ™‚

Contribute

Found a bug? Please submit a new issues on GitHub.

Contact

Email [email protected]

License

All scripts is licensed under the MIT licence.
See the included LICENSE file for more details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.