afterSelectionChanged & afterSelectionAttributeChanged events in Illustrator
Hello there What would be the most simple to use the native InDesign events 'afterSelectionChanged' & 'afterSelectionAttributeChanged' in Illustrator?
View Articlescript to create a template layer & then add a layer? Possible?
Hello, I am just starting to learn javascript and would like to know if it's possible to do the following: Open multiple .tiff or .jpg files into illustratorOn each file's layer 1, template = yes (it's...
View ArticleESTK Data Browser Question
Does anyone know if the scope of the data browser (while stepping through the code) is customizable at all?By default, it shows the local scope, showing only the variables local to the current...
View ArticleHow to construct a Rectangle element
I would like to use the Rectangle object described in the help to ExtendScript CS5: > Rectangle > Adobe Illustrator CS5 Type Library > Describes a rectangle. This class is also a...
View ArticleResize Artboard to exact size : jscript
Hello I'm trying to resize my artboard to an exact mm size via a script so then I can add this to a batch i'm trying to achieve. I've been trying to use the following, but i cant work out how to add...
View ArticleHow to extract images from adobe illustrator using extended javascript
hi,I am working on adobe extended javascript , and I need to extract all the images from artboard(adobe illustrator).and save co-ordinates of the images in the artboard to a text file.Thanks
View ArticleHow can I specify arguments for executemenucommand in a script ?
I am trying to automate a task using javascript, via menu command execution, like app.executeMenuCommand ('Envelope Options'); Can I somehow modify the parameters of the operation that appear on the...
View ArticleMake new document with an Illustrator Extension
Hi When I try to create a new document from an HTML extension by calling a jsx script the script freezes until Illustrator is put into focus (for example by clicking it)Only after focus returns to...
View Articlefit frame to text (free script)
Wrote it but don't need it, so help yourselves… /* fit_frame_to_text.js -- resize selected text frames to fit their current text content [Adobe Illustrator]This script is released into the public...
View ArticleRaster Selection
Is there a way to raster selection, or do I have to create layers/groups and move them group by group? Just thought I would ask if it's possible before diving in. Thought something like this may work...
View ArticleHow change composer of Illustrator CC?
Illustrator add new 2 composer:Middle Eastern & South Asian Single-line ComposerMiddle Eastern & South Asian Every-line Composerrefer: Indic support with new Composers | Illustrator CC...
View ArticleResize Groupitems using Javascript
below is the code iam using to resize the width to 100px, but it resized to 101px/99px. (due to Percentage value) Please suggest to resize appropriately 100px width var objectBounds =...
View ArticleGet selection Bounds (text bounds (be outline))
Please, could you help me build a code? I am trying to get bounds from the selection (visiblebounds) but with the peculiarity of that of the text bounds (be outlines). This code works only in groups...
View ArticleScripting Layer Moves
I've been trying to find a way to move some layers and sub layers under a master layer. Does someone have a line on the code to process this type of move? FromLayer 1Layer 2 Sub Layer 1 Sub Layer...
View ArticleScript for changing order of layers
I have multiple files that I need to prepare for Die- Cutting... The art files have been built in Photoshop and saved as a .tif... I then need to place them in an illustrator document in a layer called...
View ArticlePermanently saving scripts in Action Set doesn't work / Scripts werden nicht...
Hey everyboy (deutsche ver. siehe unten)The Problem is: I want to add a couple of self coded scripts to an individual set of actions permanently. Adding the scripts to a set of actions was not too much...
View ArticleColorize rasteritems
Hi, I have written a small application in .NET that gives color to Illustrator files. It basically does things:I have a layer with 100 color items (paths with a fillcolor). Each one has a unique name....
View ArticleHow to apply fillColor tint?
Hello – my script reads a CSV file (which holds path names and corresponding tint values) and tries to apply a tint to each named path. All paths have previously been filled with 100% of a Spot color....
View ArticleClose Dialogs By Script
Hi All, I can detect modular mode using BridgeTalk.getStatus()If I get 'BUSY' typically it means that some dialog is shown.Has anyone got a 'canned' solution to closing the dialog.If not then I might...
View Articlehyphenation of all paragraphs
I am trying to set language to a textframe with numerous paragraphs and apply hyphenation and some formatting, but something goes wrong and the script doesn't work.here is the code...
View Article