Illustrator Scripting :: ESTK 3.6 Crashes When Open Preferences And Click Fonts And Colors

Sep 10, 2012

I am using a MAC OS version 10.6.8 and ESTK 3.6.  When I open ESTK the font is very small and I want to make it larger.  I go to ExtendScript ToolKit>Preferences when I click Fonts and Colors the program crashes and sends an error report to Apple. 
 
I would like to script Illustrator with .jsx instead of AppleScript because I am more familiar with JavaScript (plus it's cross platform compatible). 

View 4 Replies


ADVERTISEMENT

Illustrator Scripting :: CC Extension Preferences Aren't Being Saved?

Jul 1, 2013

I am trying to save preferences in the onClose function of my extension using the following code:
 
CSXSInterface.instance.storePreference("shapeStrokeSize", model.shapeStrokeSize.toString());
 
But the values I save do no persist and I can't find the prefs file. I am checking in: /Users/mitya/Library/Application Support/Adobe/CEPServiceManager4/preference
 
if I run this same extension in CS6 everything works fine.

View 2 Replies View Related

Illustrator Scripting :: Embed All Fonts In EPS

Oct 12, 2012

I have a lot of existing eps-files of which the option "embed all fonts" is unchecked. Know I have to check the "embed all fonts" in the existing eps-files. I tried to modify the script below, but it seems that the embedallfonts is NOT working.
 
When I do it manually (without script), then it works fine. With script, it doesn't work.
  
#target illustrator
// PART 1
var doc = app.activeDocument;
// PART 2 -> herbewaren eps als eps
[Code] ........
 
Another question will be: can I get a dialog box to put in the path to the eps-files, I can do thereafter it in batch instead of each time opening and closing a file.

View 10 Replies View Related

Illustrator :: CS6 Crashes After It Opens And Click On Anything?

Jan 30, 2014

Every time I open illustrator and click on the pen icon, open a document, etc etc it crashes. I am using a Mac computer OS X version 10.9. I only have downloaded fonts from dafont.com on this computer. Nothing else has been installed or downloaded.  I have tried opening the program while holding CMD/OPT/SHIFT,uninstalling illustrator and redownloading but it still does not work. Below is the error message I get:
  
Process:         Adobe Illustrator [34729]
Path:            /Applications/Adobe Illustrator CS6/Adobe Illustrator.app/Contents/MacOS/Adobe Illustrator

[Code]....

View 1 Replies View Related

Illustrator Scripting :: How To Add Buttons In Script Which On Click Run Different Codes

Nov 3, 2013

If we run script then it should display 6 button along with ok, cancel button. If we click on button1 then the coding assciated with button1 should execute and so on.
 
button1
button2
button3
button4
button5
button6
Ok Cancel.

View 4 Replies View Related

Illustrator Scripting :: Collecting Fonts For Output

Jul 12, 2013

The code works to collect fonts in an open Illustrator document. The issue I am having is that it only collects one font. Or sometimes it will collect a whole font family. But I haven't been able to get it to collect all of the fonts in the document.
 
function getUsedFonts (doc){
var xmlString = new XML(doc.XMPString),
fontFamily = xmlString.descendants("stFnt:fontFamily"),
fontFace = xmlString.descendants("stFnt:fontFace"),
ln = fontFace.length(), i = 0, arr = [];

[Code] ......

View 2 Replies View Related

Illustrator Scripting :: How To Preview Text In Many Fonts

Mar 20, 2013

I'm wondering if there is a way for me to only need to create one sample text and get multiple previews of different fonts (either some of my favorites, or just all of them). If not, perhaps there is a way to make a script where the text makes multiple copies of itself and changes the font.

View 1 Replies View Related

Illustrator Scripting :: Listing All Fonts Used In A Document?

Jun 5, 2012

As I understand it, TextFonts is a collection of all fonts available to Illustraot.  Is there a collection of all fonts used in the open document?  Or would I have to step through every textFrame an create that list myself?

View 8 Replies View Related

Illustrator :: CC Crashes When Click Transform Tool?

Oct 3, 2013

I just started using illustrator CC and realize that when I clcik Transform tool button, the program crashes. It shappens even if no document is open.
 
I am using a mac with OS 10.7.

View 3 Replies View Related

Illustrator Scripting :: How To (with One Click) Create Multipage PDF Consisting Of All Layers

Mar 5, 2010

Often times when designing a logo I create different versions and variable options on layers. This can result in several layers in one Illustrator file. Is there an easy way or an existing script that will allow me to (with one click) create a multi-page PDF consisting of all the layers within my .ai file? The current method is turning on each layer, performing a save-as (PDF), then turning off said layer and turning on the next layer and repeating the task and so-on-and-so-forth, etc … It becomes tedious and quite often I save over the previous version, forgetting to re-name it or forget to perform a save on a certain layer. I have never written my own script before but am not opposed to trying, where do I begin?

View 12 Replies View Related

Illustrator :: Crashes Every Time Click On Graphic Styles?

Aug 9, 2012

ive just got illustrator and it crashes everytime i click it?

View 3 Replies View Related

Illustrator Scripting :: Assign Default Colors To New Layer?

Aug 7, 2013

Is there a way to assign one of the default layer colors with javascript? like light blue, light red, or green.

View 3 Replies View Related

Illustrator Scripting :: How To Change Colors Of Path Item

Nov 26, 2013

I'm trying to change the colors of a pathItem corresponding to the string value of several text fields in my document. I've been successful in changing the fill and stroke color of the pathItem, but I can not find any reference in the Illustrator Javascript Guide for accessing additional strokes and/or fills that have been applied to the object in the Appearance panel.

View 1 Replies View Related

Illustrator Scripting :: Adding Custom Spot Colors

Dec 2, 2013

I am trying to create a script that adds custom spot colours to the swatch pallet. I've manage to put together something that works (I've adapted an existing script), but the colours added are not spots, just CMYK colour swatches.Also, I need the script not to error if the swatch already exists.
 
//Add Custom Swatches
var docRef = app.activeDocument;
function cmykColor(c, m, y, k) {
     var newCMYK = new CMYKColor();
     newCMYK.cyan = c;
     newCMYK.magenta = m;
     newCMYK.yellow = y;
     newCMYK.black = k;
     return newCMYK;
[code]....

View 2 Replies View Related

Illustrator Scripting :: Changing Colors Multiple Files?

Feb 6, 2014

I have about 300+ product labels that are in Illustrator, and some of them have an incorrect rich black color swatch. What I have been doing is going through and changing the color pallette to change them manually. Essentially going to the instance of black and changing them to regular black.
 
Is there any sort of script that can do this? The files are in CMYK.
 
Otherwise I have a lot of monotonous file editing to do.

View 4 Replies View Related

Illustrator Scripting :: Adding Lab Colors To Swatch - Not Implemented

Jan 14, 2013

I tried to add a LabColor with an Illustrator script.
 
function addLabColorToSwatch(L,a,b,swatchName){
var color = new LabColor();
color.l = L;
color.a = a;
color.b = b;
 var swatchgroup = app.activeDocument.swatchGroups.add();
swatchgroup.name = "test swatchgroup from jsx script";
[code]....
 
The script crashes on the Line  'swatch.color = color;' with "Error 1202: Not implemented"..This seems to a bug. I allready filed it.

View 5 Replies View Related

Illustrator Scripting :: How To Generate Overview Of Colors Used In Document

Sep 2, 2013

I need to generate an overview of the colors used in a document.
 
For that, I would like to cycle through several rectangles of which I know the exact size. The rectangles are filled with a color  from the swatch palette.
 
What I try to achieve is that the swatch name of the rectangle's fill color is written to a text field directly above the rectangle. But I could not find a possibility to 'extract' the fillcolor from a pageItem into a pastable string.

Is there a way to do this with Illustrator and Javascript?

View 1 Replies View Related

Illustrator SDK :: How To Get List Of All Fonts And Colors Used In Active Document (AI File)

Oct 24, 2011

Is it possible to get the list of all the fonts and colors used in the active illustrator document (.ai file) ?
 
if yes then how?

View 6 Replies View Related

Illustrator Scripting :: Change Layer Colors Within Layers Palette In CS5?

Apr 3, 2012

For example I would like to make my images layer Green and my copy layer Red in my layers palette.

View 6 Replies View Related

Illustrator Scripting :: Color Value Of Spot Colors Cannot Be Adjusted Via JavaScript?

Jul 17, 2012

color value of spot colors cannot be adjusted via javascript?

View 5 Replies View Related

Illustrator Scripting :: Getting Used Spot Colors In Color Legend On MAC JS Or Applescript

Mar 23, 2012

I've been looking around for a script that will take the used spot colors in a document and place them in a predetermined spot. I've came across several posts about this, such as the COLOR CHIPPER although I think it's focus was on swatches. What is confusing is the part of making New CMYKColor or RGB or if I even need to do that. I've looked at other posts and the Adobe docs, but none seem to work. Adding the text isn't difficult, it's getting these spot colors to reflect what's in the document that is. From what I'm seeing now:
 
I may have to use some other type of script such as Applescript to get rid of unused swatches first throught the actions panel, but I'm not sure.I could possibly use the getByName method to call out the specific rectangle and the and relative callout with the appropriate color instead of having to position everytime. 

View 9 Replies View Related

Illustrator Scripting :: Automatically Create Fill Colors Combination

Nov 11, 2012

I need to automatically create all the possible pattern combinations with 6 shapes and 6 colors.
  
I have an Excell file with assigned color combinations (values from 1 to 6) in the rows, and the shape name (A to F) in the columns.  Column 7 is a string containin the color combination names (i.d. 123456, 123345 etc...) so that I can output each combination with the color/numbers in the name.
  
I'd like Illustrator to pick every row and assign the contained colors to each shape of the column and to export a .png with the name from column 7 content.
  
Just simple as that!  But to me it sounds pretty hard! 
  
Is there a script that makes it already posted somewhere? - i couldn't find any -  or something simliar to start coding from?

View 8 Replies View Related

Illustrator Scripting :: Assigning Random Colors From Defined Color Palette?

Mar 12, 2013

I'm using a mac running illustrator cs5 and have about 4 thousand eps files (all vector paths filled with black) that need to be assigned colors randomly from a defined color palette (25 custom swatches). The first 2 swatches should be omitted- they aren't relevant to this task.
 
The script should open the file select all vector elements and assign a random color form the defined custom swatch palette then save the file and move on to the next.

View 22 Replies View Related

Illustrator :: Open Type Fonts Not Working On CC

Jun 20, 2013

Fonts from Dyna Fonts are working fine on CS6, but not on CC.

View 1 Replies View Related

Illustrator Scripting :: Open File Without Warnings?

Aug 22, 2012

When I open a PDF file I get the following warning:
 
The document contains PDF objects that have been reinterpreted.

- The font is missing
 
Can I somehow open the file without showing that error, or simply automate and click OK on that window? I am using C# with COM reference. See code below:
  
var iapp = new Illustrator.Application();
var idoc = iapp.Open(file, Illustrator.AiDocumentColorSpace.aiDocumentRGBColor, null);

View 2 Replies View Related

Illustrator Scripting :: Selecting Open Paths In CS6

Jul 10, 2012

I have created this script for selecting open paths in illustrator cs6 as the graffix plugin is not working under CS6.
 
Just save the following text in /Applications/Adobe Illustrator CS6/Presets/en_US/Scripts/Select Open Paths.js
 
if (documents.length > 0 && activeDocument.pathItems.length > 0){
var allPaths = activeDocument.pathItems;
var allPathsCount = allPaths.length;
var openPathsAreLocked = false;  

[Code] ........

View 4 Replies View Related

Photoshop :: PS CS3 Crashes In Preferences

May 31, 2009

Just reinstalled PS CS3 on a new hard disk, 8gb ram, oodles of storage, upgraded from vista 32 to vista 64.The same problem happened when I installed it on vista 32. But did not retain instructions on how to cure it. Edit - preferences-performance, screen whites, told photoshop has stopped working.From Event viewer:-Faulting application photoshop.exe, version 10.0.1.0, time stamp 0x470fd6cb, faulting module unknown, version 0.0.0.0, time stamp 0x00000000,exception code 0xc00000005, fault offset 0x00000000, process id 0xc78, application start time 0x01c9e210dd66eba2. I have reduced the number of fonts to <50, and removed  twain drivers ti old scanners. Using a 64 bit epson driver.

View 3 Replies View Related

Illustrator :: Why Does CC Open Then Crashes

Jan 15, 2014

why does illustartor CC open then crashes and i get a message saying windows does not know what the problem is. everytime i open it, Now i know it works on my computer becuase i've used illustartor plenty of times on my current desktop but ever since today its been acting wierd and work so i've uninstalling and reinstalling but still nothing works then i tried installing on another hardrive still did not work and i cleaned out my registryies, optimized my disk, and cleaned temp files tooo.

View 1 Replies View Related

Illustrator Scripting :: Save A File That Is Already Open In Same Directory With Different Name

Nov 7, 2013

I'm trying to create a script to save a file that is already open in the same directory with a different name.
 
Example: nome_0000_art to nome_0000_closed
 
I tried to create from another script that saves EPS but as I am new to the subject could not make it work
 
how do I perform the command saveas automatically without showing the dialog window by changing the file name?

View 7 Replies View Related

Illustrator Scripting :: Can't Open Dialog Box Live Trace

Mar 18, 2014

i would like to live trace (vectoriser) a pdf drawing but i can't open the dialog box live trace(vectorisation de l'image) on version 17,1.

View 1 Replies View Related

Illustrator Scripting :: How To Open Without Convert To Artboart Dialog

Jun 1, 2012

I'm batch exporting JPGs of AI files in CS5, but many of the files are as old as AI10, so I'm getting the "Convert to Artboard" dialog box. I've set open options (below), but they seem to just pre-populate the checkboxes in the dialog. Any way to do this without user interaction? userInteractionLevel doesn't seem to apply here) 
 
var optRef = new OpenOptions();
optRef.updateLegacyText = true;
optRef.convertCropAreaToArboard = false;
optRef.preserveLegacyArtboard = true;
optRef.createArtboardWithArtworkBoundingBox = false;

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved