Quantcast
Channel: Adobe Community : Discussion List - Illustrator Scripting
Browsing all 3671 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Script to Rename Artboards with Layer Names

I'm looking to create a script to batch rename a number of artboards. - I have 100 named layers.- I have 100 artboards.- I would like to rename the artboards to match the layer names.- The layers are...

View Article


Image may be NSFW.
Clik here to view.

Script Illustrator Cs6 cotas automaticas

Como fazer esse script com arrowheads (arrow 1) dos lados?e deixar as medidas dos lados igual da imagem /** Description: An Adobe Illustrator script that automates measurements of objects. This is an...

View Article


Image may be NSFW.
Clik here to view.

textFrame resides in a "grid location"

I am wanting to scan all textFrames on a layer "Active Text" and have it reference what "grid location" it is in. The grid locations are textFrames on a layer "42 Pg Grid Location". Here is an...

View Article

Image may be NSFW.
Clik here to view.

Search for specific characters in a textFrame

I have a script that has been working perfectly that was written by pixxxel schubser  (thank you!!)Original discussion can be found here.....https://forums.adobe.com/thread/1881921 So here is the issue...

View Article

Eval and JSON file

Hi all I always worked with XML files to collect informations to use in my scripts. Illustrator supports the XML object, so I can acess the nodes and collect the data I need from the XML. But I...

View Article


Image may be NSFW.
Clik here to view.

Unwelcome surprise: "Find Style menu item" app.executeMenuCommand() vs Action

I was having some challenges involving graphic styles and found one of these amazing curious features of AI scripting.Believe it or not, the action and the scripting app.executeMenuCommand methods of...

View Article

Image may be NSFW.
Clik here to view.

Make several artboards from objects

Hi everybody. I have such a problem. There are several non-overlapping objects on the artboard. I need to arrange each object on its own artboard in the same place as on the original arboard. I'd try...

View Article

change the strokewidth of all the items on the page.

Hello!My goal with this script is to update all of the items on the page of an SVG file so that they have a stroke width of .2 and the color is grey. All of the objects turn the correct color of gray....

View Article


changing strokecolor of many paths without looping

Hello,I have an SVG file that has quite a few objects on it. I need to change all the stroke color to grey and the strokewidth to .2.When I attempt to use a loop, the process works, but it takes 9...

View Article


How to get text fill color, from the appearance panel with jsx script

I'm attempting to create an illustrator jsx script that reads text color that was applied through a graphic style.When applying a graphic style to text, the actual color of the text does not change....

View Article

Renaming Sub-Layer

I have this tiny script to rename a Sub-layer which works the first time I use it, then it adds to the existing sub-layer name when I run it after the first time.  var docRef = activeDocument;    var...

View Article

Desired word spacing issue

I'm scripting the desired word spacing of paragraphs, and it's working (see below). The problem is that it also changes the minimum and maximum values. So with the below they would be set to 0 and 100....

View Article

Image may be NSFW.
Clik here to view.

export as WOSVG produces file with null content on first run

I need to export multiple files as WOSVG (web optimized SVG). This script, when run after opening a new instance of illustrator, produces an SVG file of 0 kb size the first time when run. (Empty,...

View Article


Automatically check spelling

Hi, I am new to scripting. I am desperately need help from anyone that could guide me with some scrip that i can use to enable illustrator CC to automatically check spelling just like it does in...

View Article

Image may be NSFW.
Clik here to view.

Need a way to hide a layer in a document from UI

Hi experts, I have a requirement to add a Text to layer and make it uneditable to user. I have successfully tried to Lock, hide, diable edit layers as well as textFrame inside the layer via Scripting....

View Article


Image may be NSFW.
Clik here to view.

Illustrator script.

here I have already retrieved nonNativeItems,below that JSON data is there, using this JSON data again how to re create the nonNativeItems in illustrator.  var page_details = {  "full_name":...

View Article

Using excel data in illustrator

I'm a Corel user who has a task that may require migrating toIllustrator. I'd like to know if this can be done.I may need to maintain a map for a community project. On this map, wehave a tree...

View Article


Importing Latitude and Longitude Data into Illustrator CS6

It is possible to convert a PDF MAP into a Illustrator MAP with Actual Latitude and Longitude data a POI ( Place of Interest) Or Create a POLYLINE like you do in Google maps and Feed the GPS data into...

View Article

Image may be NSFW.
Clik here to view.

Create Artboard by looping through specific path items

I am need of a script where I can convert the "thru-cut" layers into artboards. I am horrible at creating loops and honestly not sure if it is possible to loop "thru-cut" one at time to create an...

View Article

Image may be NSFW.
Clik here to view.

Match textFrame ignoring carriage return

Open this file...Document.ai - Google Drivehttps://drive.google.com/open?id=0B4ebfmBRxh3ATXBMbTUySmtpVWsThen open this file so it is the active document...Table.ai - Google Drive I am running a script...

View Article
Browsing all 3671 articles
Browse latest View live


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