Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to put the script to appear under scripts menu in Illustrator cs5.1

I have a script for Illustrator CS5.1 that I would like to be part of the scripts menu. I've tried to put it under:

  1. C:\Program Files\Adobe\Adobe Illustrator CS5.1\Presets\en_GB\Scripts\
  2. C:\Program Files\Adobe\Adobe Illustrator CS5.1\Presets\en_GB\Scripts\myFolder
  3. C:\Program Files\Adobe\Adobe Illustrator CS5.1\Presets\
  4. C:\Program Files\Adobe\Adobe Illustrator CS5.1\Presets\myFolder

but all of those attempts failed, I have restarted Illustrator, what can be wrong? This is for Windows 7.

like image 284
Lukasz 'Severiaan' Grela Avatar asked Nov 19 '14 09:11

Lukasz 'Severiaan' Grela


2 Answers

I don't know why, but the solution is to NOT USE *.jsx but *.js as script extension. When I've changed it to js and placed into C:\Program Files\Adobe\Adobe Illustrator CS5.1\Presets\en_GB\Scripts\ it appeared under scripts menu.

With 64bit CS6 Illustrator the path looks like this: C:\Program Files\Adobe\Adobe Illustrator CS6 (64 Bit)\Presets\en_GB\Scriptsand it accepts JSX or JS extensions.

like image 70
Lukasz 'Severiaan' Grela Avatar answered Nov 10 '22 12:11

Lukasz 'Severiaan' Grela


And just for good measure, here's

a Mac solution

(Yes, OP asked for Windows, but many Mac users will find this page too)

See the elegantly explained answer on Xinrong's blog.

Or if the link ever rots, read the summary below:

Step 1.

Navigate to

Applications/Adobe Illustrator CC/Presets/en_GB/Scripts

and copy the .js or .jsx files there.

The file path may differ depending on your version of Illustrator (could be CS6 instead of CC, for example), and also your language (could be ja_JP instead of en_GB, for example).

Step 2.

Relaunch Illustrator.

The scripts will then be accessible in Illustrator's menu under File > Scripts

like image 13
Mentalist Avatar answered Nov 10 '22 14:11

Mentalist