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

Execute Illustrator as an invisible application

From the Scripting Guide Documentation page 22.  It mentions executing the VBScript code Set appRef = CreateObject("Adobe.Illustrator") will launch an invisible application.  However, when running that...

View Article


Image may be NSFW.
Clik here to view.

Illustrator CC 2017 breaks on BridgeTalk script execution

The following piece of code was functioning wonderfully until illustrator CC 2017. This function is a trampoline for us to invoke scripts from an ExtendScript UI, which are passed as a string into the...

View Article


Image may be NSFW.
Clik here to view.

How to snap/round gradient rotation and stops?

Sometiems I need to massively shake up gradient fiils — make angles rounded and position stops at multiples of, for example, five.I'm trying to conjure up a script for this, and immidiately stopped at...

View Article

Convert JPG/PNG using AI

@williamdowHi, I want to create a dynamic PNG/JPG file programmatically for AI extension. For photoshop i'm using this approach:Created a PSD as a template, parse it and created duplicate of it in JSX,...

View Article

New Extensions / Add-ons Development Forum Launched

Hi AllNew Extensions / Add-ons Deveropment forum available!https://forums.adobe.com/community/creative_cloud/add-ons/extensions/overviewPlease post all your HTML extensions(CEP) questions on that forum...

View Article


Javascript for Illustrator : Copy a document on another specific document issue

Hi,I've managed to select elements on a source file but it fails when copying. The selection should be copied on targetFile.There is like 5 to 10 files by sourceFolder (there is an error in opening...

View Article

Script to Set Default PDF Presets

Hi guys - I've been looking around for awhile for something that would help increase our workflow's efficiency. We have a certain setting we save all of our PDFs in [Color Press], but I can't figure...

View Article

Image may be NSFW.
Clik here to view.

Removing Empty Sub Layers.

Hi All.  I've been all over the internet and haven't seemed to find my solution.  Hoping someone on here has a solve.   I'm looking for a script that will delete not only empty layers but will identify...

View Article


Image may be NSFW.
Clik here to view.

Poisson Disk Sampling

Is there any Poisson Disk Sampling AI script ?  Just found two scripts for HTML and I hope someone could adapt it for AI:1) GitHub - jeffrey-hearn/poisson-disk-sample: A Javascript implementation of...

View Article


Image may be NSFW.
Clik here to view.

How to find out path item has an arc

Hello everyone,i am having rectangle type path Item , in this arc shape has been formed how to identify this path item which has an arc through script.     Please help how to select this pathItem which...

View Article

Dimensions object

How to get a dimension artboard and selection with UnitRuler.Milimetter?When i use app.activeDocument.width & app.activeDocument.selection [0] .width  it returns the pixel parameter

View Article

Image may be NSFW.
Clik here to view.

Export File as TIFF... no file saved

Could someone take a look at my script and see if you can get a file to be saved as a TIFF?  VBscript is my main language so maybe I missed something in JavaScript.  The script will run... I see an AI...

View Article

Image may be NSFW.
Clik here to view.

Adobe Illustrator not responding !!

Hello everyone,  My script works for small size files upto 900kb it takes less than a minute , if it is more than 900 kb it is running for 1/2 hour  then it forces the illustrator to not respond and...

View Article


Set fillcolor of pathItem to Registration with javascript

Is it possible to set the fillcolor of a pathItem to registration in some way?Would appreciate an answer! //Anders

View Article

Color conversion script?

I'm looking for a way to easily print out, in text, the CMYK, RGB, HEX & possibly some other representation of certain colors, I thought I would write a quick script... easy, right? Apparently not....

View Article


Image may be NSFW.
Clik here to view.

Perspective correct images within AI... Possible?

An image might better explain what I'd like to do: Currently, I do a TON of perspective correction by correcting the image in PS and then placing into AI.  It would be nice to be able to do this...

View Article

How to automate the flatten transparency in illustrator?

How to automate the "Flatten Transparency option" in illustrator via javascript. Please share with me. Thanks

View Article


A list of Illustrator menu commands we can call from JavaScript.

app.executeMenuCommand(StringFromListBelow);  actualsizeAdd Anchor Points2AddArrowHeads2Adjust Colors DialogAdjust3Adobe Action PaletteAdobe Actions BatchAdobe AI Device centerAdobe AI Save For...

View Article

Image may be NSFW.
Clik here to view.

Script to Batch Rename Layers/Artboards with Search/Replace Function?

So, I have been spoiled by an After Effects plugin called AE Global Renamer (AEGR) and was wondering if Illustrator had a plug in or script that could do something similar. The beauty of AEGR is that...

View Article

IllustratorSaveOptions in C# .NET is not working anymore as expected

For more than a decade the following Illustrator script has been applied via C# .NET in combination with all existing Illustrator versions (sourcecode): typelib.IllustratorSaveOptionssaveOptions =...

View Article
Browsing all 3671 articles
Browse latest View live


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