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

Lukasz 'Severiaan' Grela picture Lukasz 'Severiaan' Grela · Nov 19, 2014 · Viewed 32.9k times · Source

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.

Answer

Lukasz 'Severiaan' Grela picture Lukasz 'Severiaan' Grela · Nov 20, 2014

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.