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

Image may be NSFW.
Clik here to view.

Feedback on a new extension for Illustrator I've created called PowerScripts.

Hi Guys I posted in Reddit and one of the users over there suggested this forum. I've created a new Extension called PowerScripts for Adobe Illustrator and I would like you guys to download a trial and...

View Article


Image may be NSFW.
Clik here to view.

Layer color typenames - any way to call these out in a script?

I have marginal experience with coding and no experience with Javascript at all, but I'm trying to write a layer setup script in ExtendScript Toolkit to save time when starting a new document. I know...

View Article


Image may be NSFW.
Clik here to view.

app.executeMenuCommand() problems

I'm using AI CC 2017 and it has been brought to my attention that my app.executeMenuCommand("doc-color-cmyk"); doesn't work some times when my script is ran. #target illustratorfunction test(){    var...

View Article

Setting Scale Corners in a script

I'm writing a script to fit an object into a specific sized box. I'm using: artwork[0].resize(scale, scale ,1,1,1,1,scale); in order to change the size. Everything seems to be working fine except if I...

View Article

find fonts in illustrator files pdf, eps, ai illustrator javascript

Hi Friends any can help me . I need code for find fonts of the files >pdf. eps. .ai using illustrator javascript without indesign.

View Article


Export selected items as PNG, SVG in different dimensions in AI CS6 and older

1) In latest Illustrator versions we have exportSelectionAsPNG method, it exports PNG with 100% scale, but what value should be passed in "options" parameters if I want export different scale? 2) In...

View Article

Cannot change font of ScriptUI controls

For example, following script: var w = new Window('dialog'); var myStatic = w.add('statictext', undefined, "Hello World!"); //myStatic.graphics.font = "Arial-Bold:24"; //myStatic.graphics.font =...

View Article

What the heck is with the weak JPG Export options??

It's all in the title.. Why are there only 11 weaksauce options for jpg export!? no color model options, no output resolution options, no compression options.... I'm sincerely hoping this is another...

View Article


Image may be NSFW.
Clik here to view.

Creating a dynamic action to use with app.doScript() method.

Since building dynamic actions is a topic unto itself, we often search for a reference thread to show somebody how to do this - and we often do so while trying to discuss work which is already involved...

View Article


Image may be NSFW.
Clik here to view.

Select part of point text objects matching a regex expression

Hello! I'm looking for a way to run through a bunch of point text objects and select part of the string in each text object based on a regex expression. I found this awesome script that can do a regex...

View Article

Image may be NSFW.
Clik here to view.

How to add in item to menu of Illustrator to activate script instead of File...

I wrote a script and installed it to Presets, but in real work I find in veeeeery inconvenient to activate script with File > Scripts.I don't need my own panel or toolbar, just menu item for File...

View Article

Exporting X,Y coordinate of the center point of objects (Ai)

Hello all, I have an illustrator document (Illustrator CC) with thousands of objects. I would like to export the X,Y coordinate of the center point of each objects --> either one by one or as one....

View Article

Image may be NSFW.
Clik here to view.

Exporting X,Y coordinate of the center point of objects (Ai)

Hello all, I have an illustrator document (Illustrator CC) with thousands of objects. I would like to export the X,Y coordinate of the center point of each objects --> either one by one or as one....

View Article


Image may be NSFW.
Clik here to view.

Cutting a circle

Hi all,  I need to make shapes like this based on a value for graph purposes - usually I would just create a cutting shape based on trig (this shape representing around 60%) and subtract it from the...

View Article

Image may be NSFW.
Clik here to view.

Undefined PDF Presets in Illustrator CS5

I'm encountering a problem when attempting to retrieve a list of PDF preset names in both AppleScript and JavaScript. Here are the steps I'm performing: 1) Launch Illustrator 2) Run the following...

View Article


Image may be NSFW.
Clik here to view.

How to export a selection?

Hi! I looked at the scripting documentation about the ExtendScript API and can't find anything. Do you know how to export a selection? The "exportFile" is working fine for a document but there is no...

View Article

Image may be NSFW.
Clik here to view.

Batch Rename Everything

Hello, I want to batch rename everything.What I want to do is similar to this script:GitHub - shspage/illustrator-scripts: JavaScript scripts for Adobe Illustrator CSx.This script collects every...

View Article


Image may be NSFW.
Clik here to view.

Finger joints

Hello,i am looking for a script to create a simple box with Finger Joints for laser cutting, any suggestions?Input box, Width, Height, Depth, Finger width, Material thickness , Units(My scripting...

View Article

Image may be NSFW.
Clik here to view.

how to delete active artboard using illustrator cs6 javascript

Hi this hariprasad,  var myDoc = app.open(inputFile);var ab = myDoc.artboards.getActiveArtboardIndex();    myDoc.artboards[ab].remove(); i am using the above code to delete active artboard using...

View Article

SVG and JS problem

i am making a world map in SVG and i have to make such dialog boxes with some contact info and stuff... the text in the boxes are typography elements and every country has its own dialog box  for...

View Article
Browsing all 3671 articles
Browse latest View live


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