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

Image may be NSFW.
Clik here to view.

Specified value less than minimum allowed value

I am trying to make script that should swap two object by position. Height must swap too and width must scale accordingly. The position swap is working ok but in resize part I get error "Specified...

View Article


• Is there a way to rename a folder?

Good evening - I was wondering if there was a way to rename a foldera bit in the same way we can rename the name of fiel, like: var aFile = File("~/Desktop/theNameOfMyFile.ai");      aFile.rename...

View Article


Merge items under one layer apple script

Hi all, Is there any way to achieve merge all sub layers/paths under one layer using apple script? Thanks in advance

View Article

Run the script for the selected files

Below is the script to convert the ai files to pdf which in available in the selected folder. Is there any possibility to run the script only for the selected files in a particular folder. #target...

View Article

Delete all missing links

Hello. I couldn't  found a script in google for deleting all missing files, so here I am looking for help.If you have that script or know how to make - can you help?For now I tried this and it gave an...

View Article


• DialogBox won't "close"… What could be the reason?

Hello - I programmed a "dialog box"…The "CANCEL" button works perfectly.But the "OK" doesn't work as I wish. In fact, it should:Close/hide the dialog box.And call the following function...

View Article

  Possible to get the path chosen by user?">• "Package" (from 'File' menu)  ->  Possible to get the path chosen by user?

Hello - I was wondering if it was possible to get the path chosen by the userwhen this last click on "PACKAGE"(from the "FILE" menu)?If so, how please, can I get it? Thank you (again)Enjoy your day,...

View Article

PDF Automation in Illustrator- Artboard specific with suffix

I am trying to figure out how to export multiple AI files that each have 2 artboards in them and have a suffix added to them. It is alot of art files that I need to export into each individual art...

View Article


Deal with Overset on Path Text

Hi,i am currently fiddling with overset texts for a script. In my script the TextAreaObject content gets replaced by a new string. In the case it becomes overset, due to the length or different...

View Article


Image may be NSFW.
Clik here to view.

• Javascript to embed ALL linked images into the AI file via script (bug?)

Hello - I "copy-paste" a couple of different snippet of code to embed all linked images into the AI file.Apparently it works for a couple of them but for some other, they jumps/moves of position before...

View Article

Image may be NSFW.
Clik here to view.

Why can't overidde setting fontsize of pragraph style?

I create a TextFrame="abc" has paragraph style set Font size =20ptI can't set a other font size to textframe:Ex:  doc.TextFrames(1).Characters(2).CharacterAttributes.size = 12Result font size of...

View Article

Image may be NSFW.
Clik here to view.

Why length of textranges equal number of characters?

I add new a TextFrame and set text="1234"I not change any attributes.But i get  textranges.length=4With Indesign textStyleRanges.length=1, it only change when change attributes of text.Why length of...

View Article

Image may be NSFW.
Clik here to view.

Save as EPS with Options

Hello! I'm relatively new  to scripting for Illustrator & was wondering if anybody currently has a script that could automate a task for me. I work in screen printing & have to save every art...

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.

Gradient Values

Hi, how read gradient values? 

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

[ Branched ] How to change ColorModel value

How can we change colorModel value, I tried to chnage it but nothing happens. I tried to change like app.preferences.setRealPreference("plugin/JPEGFormat/ColorModel", 2);     // I think 2 must be for...

View Article


Adding Tags to document

Hello, I try to add tags to my active document but I receive an error message :"Cannot apply a tag to a document" Does anybody success to add tags to a document ? Thanks

View Article

Image may be NSFW.
Clik here to view.

Create shortcut for locate object

Does anyone know how to create a shortcut for "locate object"? Help. Thanx,

View Article

Image may be NSFW.
Clik here to view.

Illustrator Script - Change Stroke color in a specific layer

Hi there,i try for just 4 hours now to get a function to change the stroke color of all objects in a layer "1".  with this script, every object is being recolored, this is working:vardocRef =...

View Article
Browsing all 3671 articles
Browse latest View live


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