Quantcast
Browsing all 12845 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Is it possible to use AI "selection sets" in script and scriptUI?

Wondering is there way to use those selection sets that found from Select menu in script? Using this list in ScriptUI where I can select them. This would help me to use selection while I'm in "dialog"...

View Article


Image may be NSFW.
Clik here to view.

fitArtboardToSelectedArt and saveASSVG is not working

Hi Experts, I have a problem in the below script, the script will execute the "fitArtboardToSelectedArt" function after Export the SVG file in output folder, After I opened the output folder files, not...

View Article


[JS] CS6+ executeMenuCommand

Hello together, since CS6+ there is possible to executeMenuCommand (menuCommandString: string)Executes a menu command using the menu shortcut string. Question 1:Who knows a way to read all the...

View Article

trouble positioning ellipse in new layer

I created  new layer in my document, and then a new ellipse inside that layer.I am trying to position the new ellipse at the top of the layer (vertically) and in the center of layer along the x axis...

View Article

Ignore patterns and process swatches when pushing to array

How do i go about ignoring process colors and pattern swatches when pushing swatches to an array? So far i've been able to exclude swatches by name, but ColorType.CMYK doesn't seem to do it... Here's...

View Article


Use Javascript to select artwork on a particular artboard?

Is there a way to use Javascript to select all artwork on a particular artboard?  Or if you couldn't designate the selection based on the artboard index, another way i could see doing it would be to...

View Article

Find and replace month names

Dear all, I have a few eps files in which month-year format is written like May-12, June-13 etc. I want to change May to Mai, June to Juin etc. Virender var myDoc = app.activeDocument;for (i = 0; i...

View Article

Image may be NSFW.
Clik here to view.

WYSIWYG Vector outliner script

I have spent a fair amount of time with Illustrator over the years manually expanding appearances, outlining strokes, combining paths, etc. to get two-color art expanded into flat, outlined vectors....

View Article


Palette versus dialog?

Is there any functions and methods that dont work on a dialog window versus a palette? I sk because i was playing with some UI stuff and i almost got everything working but it doesnt work as a dialog...

View Article


1346458189 ('MARP') Error: Unlocking layers

Hi all, I have a script that is used to tidy up a file before it is sent out. As a part of this i need to be able to unlock layers and make them visible, i have used this sample script that I have...

View Article

Image may be NSFW.
Clik here to view.

Custom scripts not working in Illustrator CC (2014)

A couple of custom scripts that are part of my workflow don't work in the new CC; MultiExporter.jsx and Sprite CSS Generator.jsx.When I try to run either a titled modal window comes up as if the script...

View Article

Storing a persistent variable with scripting?

Hello -- is it possible to store the value of a variable via scripting after a script has been executed or does it only exist during runtime? The use case here would be to store a user entry between...

View Article

JavaScript to prompt user to save as PDF

I am making changes with code to the file. I want the user to be prompted to save as a .ai file first. I have that down. Now I am wanting to have the user immediately be prompted to save as a pdf with...

View Article


Illustrator script to select multiple layers

I have about 74 layers in illustrator and i want to run a script to select combination of layers at a time. For e.g. I want 5 layers to be selected and save them as one .jpg. Then say i need to select...

View Article

app.userInteractionLevel ignored?

I've tried adding the following to my script but it appears to have no effect at all in CS5 on Windows 7. app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS; Does this still work for...

View Article


How to Export TIFF

Hi All, How to export TIFF from Illustrator using Javascript. I could not find TIFF export type in Illustartor export type. Regards,Selvakumar

View Article

DPI of a linked image, illustrator - extendscript

Hi, I am creating a script that needs to be able to find the DPI of a linked image. I presume there must be some way of getting to this data as it is in the links window in illustrator.I do also need...

View Article


Illustrator Script to Extract File Properties

Hi Folks,  I'm looking to find a script that can extract illustrator file property information such as file name, length, height, pantone colors, etc.  Does anyone know of an existing script or have...

View Article

Image may be NSFW.
Clik here to view.

resize options help.

Hi Scripters, I have to resize the placed object. I am using the JS code in below, but not working my expectation. Height X Width;0.83 X 3.75 cm var myDoc = app.activeDocument;...

View Article

graphics.PenType.THEME-COLOR badly documented: which ones exist?

Using ScriptUI I'm defining a new brush color to match the Illustrator UI theme color for example with myColor = w.graphics.newPen(w.graphics.PenType.THEME_COLOR, "appDialogBackground",1); What...

View Article
Browsing all 12845 articles
Browse latest View live


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