Coder Social home page Coder Social logo

sableraf / illustrator-scripting-sublime-text-package Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seblavoie/after-effects-scripting-sublime-text-package

3.0 4.0 0.0 317 KB

Sublime Text 2 package for After Effects.

Shell 74.49% AppleScript 25.51%

illustrator-scripting-sublime-text-package's Introduction

Illustrator Scripting Sublime Text 2 Package

This is a work in progress. Use at your own risk.

Sublime Text 2 package for building extenscript (jsx) in Illustrator CC. Based on the package for After Effects by Seb Lavoie and the completion file from moluapple's package for Illustrator and Indesign (Windows only). It provides code completion in Sublime Text 2 and the ability to run the scripts in Illustrator via the build command.

Limitations & known issues

  • The build & run scripts are hard coded for Illustrator CC en_GB version. Editing them for other installations should be trivial enough but there is no handy config file yet.
  • Windows script is completely untested
  • Be sure to save your script in UTF8 (withough BOM). Extenscript interprets Byte order mark as a syntax error.
  • The console messages don't get caught in Sublime's own console
  • Mac: run.scpt sometimes fails with error Expected end of line but found identifier. Running a script like tell application "Adobe Photoshop CS6" do javascript "alert('hello world')" end tell from the ApplesSript Editor should fix it.

Build System

The build system will :

  1. Copy your current .jsx file in your Illustrator Scripts folder so you don't have to develop in that folder.
  2. Run the script in Illustrator.

Installation

Git clone

git clone https://github.com/seblavoie/After-Effects-Scripting-Sublime-Text-Package.git Illustrators

With zip file

  • Download and unzip in your Sublime Text 2 packages folder.
  • Rename the folder to Illustrator.

The "Packages" directory is located at:

  • OS X

    ~/Library/Application Support/Sublime Text 2/Packages
  • Linux

    ~/.config/sublime-text-2/Packages/
  • Windows

    %APPDATA%/Sublime Text 2/Packages/

From package manager

  • Get Package Control for Sublime Text 2.
  • In the command palette, start typing 'repository' and select 'Package Control: Add Repository'.
  • Copy the clone url of the present repository in the prompt field.

Usage

Open Sublime Text 2 and go Tools > Build System > Illustrator and build with โŒ˜ + B (OS X) CTRL + B (Windows)

illustrator-scripting-sublime-text-package's People

Contributors

seblavoie avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.