I usually write scripts for Illustrator and save them in the scripts folder. Then during development I run them using alerts for debugging but this is getting tedious so I thought I would give the Extendscript Toolkit 2 IDE a go so I could use the co...
I need to be able to find colors based on the RGB number brake down. I am not 100% how to make this work. Here is kind of what i am looking for.   \var aDoc = app.activeDocument;    var rgbCol = new RGBColor();   rgbCol.red = x >= 200  &&...
Is there any way to access a pathItem's fill opacity with javascript? I can access the overall opacity, but I want to lower the opacity of the fill while keeping the stroke fully opaque.  I can't find anything in the documentation, nor can I...
In my aspx page I have a map of different countries as an SVG object, and a checkbox for each country:  <object id="map" data="_images/map.svg" type="image/svg+xml"></object> <asp:CheckBox ID="chkScotland...
I'm making extend scripts for Adobe Illustrator CS6 (javascript) and I need to delete every clipping masks of a document.  I already have a solution but it's not fast enough in big documents.  Here is my code:  var releaseClippingMasks = func...
I have a vector illustrator file with all the counties of California as distinct paths. I need to have these counties be links to other pages online. is there a way to automatically generate an HTML imagemap from this file? illustrator provides an ex...
I'm looking for a way to implement Adobe Illustrator style 'smart guides' when dragging/dropping in Javascript. I'm currently using jQuery UI's draggable:  $('.object').draggable({     containment: 'parent',     sn...
I have a script for Illustrator CS5.1 that I would like to be part of the scripts menu. I've tried to put it under:   C:\Program Files\Adobe\Adobe Illustrator CS5.1\Presets\en_GB\Scripts\ C:\Program Files\Adobe\Adobe Illustrator CS5.1\Presets\en_...
I'm trying to save a file in Illustrator using Javascript but I keep getting an error.  Here is what works, but is not what I want:  // save as var dest = "~/testme.pdf";  saveFileToPDF(dest);  function saveFileToPDF (dest) {     var doc...
I use a .jsx script to open an Illustrator file, modify it, then save and close it. The script is called from another program. After the script execution, I need to quit both Illustrator and ExtendScript Toolkit softwares. I tried the following code:...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.