Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Browsing all 12845 articles
Browse latest View live

importPrintPreset, is it broken?

Hi everyone, has anyone had any luck with importPrintPreset()? I can't get it to import any presets, I get no errors, it just doesn't do anything... var idoc = app.activeDocument; var file = new...

View Article


How do I save a .DXF file in Illustrator as an AI file using VBscript?

I have a VBA script that opens a .DXF file in Illustrator, and want to save it as an AI file. How do I do this?

View Article


Illustrator Macros/Scripting

Hey guys is it possible to create macros in illustrator, or how would this be achieved via the scripting.Basically i have a c# application that contains alot of pictureboxes all with images in them. i...

View Article

Image may be NSFW.
Clik here to view.

an Illustrator error occurred: 1346458189 ('PARM')

Hello everyone, I am trying to open some documents in Illustrator CS4 by javascript, walk through all layers including sublayers, doing something (for now just reading the layernames and showing them...

View Article

Extract text from illustrator for translation then replace with translated text

I am trying to find a way to expedite translations of our drawings.  Each drawing has a series of callouts showing what that piece of the drawing is via text.  I would need to do 100's of drawings for...

View Article


script to batch rename/number layers in Illustrator CS6

Is there a script that I can use in Illustrator to batch rename all sub-layers? I would also like to be able to add sequential numbers to each layer too. I saw an older post that contained a script to...

View Article

Reflect whole objects

Hi. I need to recreate this as a script: - Select all- Object > Transform > Reflect I have tried this: if( app.documents.length >0){     // here's the "flip horizontal" magic:    var...

View Article

Image may be NSFW.
Clik here to view.

Reworking Photoshop layer renaming script for Illustrator

The Photoshop scripting guru Paul R over at RetouchPro has created a really cool script to batch rename and number selected Photoshop layers. I haven't found anything similar on the Illustrator side....

View Article


Does anybody know how to remove all "copy" word from AI layers name line?

I downloaded a PSD script that auto remove the word "copy" from all layers. Inside AI, I can't do that. Does anyone can help me? Here is the jsx PSD script file: ----------...

View Article


[JS]: Accessing Menu Items in CS6

Hi, So I just got CS6, and I'm wondering how I access menu items using Javascript?Also, I'm looking at the CS6 JS reference, and it doesn't say whether app.activeDocument.selection is Read-Only....

View Article

How to Clean up Stray points in JS?

Although there is a function in Illustrator to select stray points and delete or clean up stray points in paths, I want to find a way to make it in JavaScript.It seems that no specific details...

View Article

[Illustrator CS5.1] How to create customised argument for artboards.add function

I'm trying to add new artboard with the help of java script. I wasn't able to find solution nowhere. The scripting guidelines from adobe are just poor (to not use more strong words). What ever I'm...

View Article

Convert to Grayscale

Hello, It is possible to apply the Convert to Grayscale(Edit->Edit Colors->Convert to Grayscale) for the selected items in illustrator cs3 in script (javascript)?Kindly advice me the...

View Article


Color Swap Between Libraries: Is this Possible?

I work with a large number of Illustrator files daily that all use the Pantone Solid Coated library for their swatch color scheme. This color library will be used whether customers provide the art...

View Article

Change Units

How to change Units to cm in Illustrator using Javascript

View Article


eps save options

I have a long script that works but the save options are giving me problems;     var saveName = new File ("S:/STE2/STE2_BAGS/" + fileName);    saveOpts = new EPSSaveOptions();    saveOpts.compatibility...

View Article

Looking for "Replace with Symbol" script

So I am trying to replace gps points with a symbol I have created. I have found blogs referencing a script that can replace selected items with symbols saved in the symbols panel, but I can't seem to...

View Article


Script to round fractional CMYK colours?

This script must exist but I'll be damned if I can find it!!! I work in a large printing company and we get artwork from all over that has dodgy CMYK colours (quick convertions from RGB obviously). We...

View Article

Find a specific Sublayer and move to top level layer

I have a lot of illustrator files that are organized by a template size. The layers are setup so that the top level layer is always Template. However the sublayer I need to move to the top level could...

View Article

search a word between "( )" and apply CharacterStyle

sorry my bad english  I need your help, I can search within a parenthesis with \((.*)\) ex:  hello (world) bye, need apply a CharacterStyle to "(world)" with  CharacterStylehello (world) bye similar...

View Article
Browsing all 12845 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>