Illustrator Scripting :: Why Does Trace Script Give Application Error

Jul 24, 2013

I have written a simple script to to trace a raster image using Illustrator.The image can be traced using >Object > Image trace in Illustrator without any problems.However, when I run my script I get the following error:  Application error 12321(some long number) 'MARC'.
 
var jpgFilePath = new File ("/Users/Ellipse8.jpg" 
createRasterItem(jpgFilePath)
function createRasterItem(jpgFilePath) {
var rasterFile = File(jpgFilePath);
var myDoc = app.documents.add();
[code]....

View 2 Replies


ADVERTISEMENT

Illustrator Scripting :: How To Give Line Height To Text In AI Script

Jun 4, 2012

how to give line height to text in AI Script

View 3 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 :: Live Trace Tracing Options Shows Set Default Instead Of Trace?

Jan 5, 2013

how to use Live Trace in Illustrator but now instead of the Tracing Options window having a button that says "Trace" it's now showing a button that says "Set to Default." I'm sure something isn't selected right or something similar, but I can't figure it out. why "Trace" is no longer an option?

View 2 Replies View Related

Illustrator :: Image Trace Shifts Artwork Once The Trace Is Finished?

Aug 23, 2013

Image trace shifts artwork once the trace is finished.  Have to nudge art back into place each time.

View 6 Replies View Related

Illustrator :: Can Import Settings From CS5 Live Trace To CS6 Image Trace

Oct 7, 2012

I'm loving CS6 Illustrator, except for one thing. Image Trace. Here, Adobe seem to have taken away the two most usefull settings from Live Trace, and replaced all the presets with ones that are pretty much unusable. I almost always used either 'Comic Art' or 'Lettering' to trace hand-drawn images, but they're both gone. None of the new settings are good enough, even if I make a custom one. The main issue is that the sliders in Image Trace are for completely different things to those in Live Trace, so it's difficult to translate one set of settings into the other.
 
With Image Trace, I cannot get the same results as with Live Trace, and so far, have found myself having to have Illustrator CS5 open at the same time as CS6, just so I can get workable traces.
 
I don't know if it's possible, but is there any way to import the presets from Live Trace, or even the full tool, into CS6, to replace the new Image Trace presets?how to make the equivelant of Comic Art  in Image Trace's new settings?This is a close up of a file I was trying to trace, showing the major difference in quality between the two CS versions.
 
Left: CS5 - Comic Art setting.
Right: CS6 - This is a custom setting, but is the closest I have come to Comic Art thus far.

As you can see, the definition of Image Trace is far lower in quality than Live Trace, giving me one large connected blob of colour rather than the distictly separate lines produced in Live Trace.

View 7 Replies View Related

Illustrator :: Results In Image Trace Don't Match Live Trace

Aug 8, 2012

I just started using CS6, jumping from CS3. A major tool I use is Live Trace, and I have custom settings for that. I cannot find a way to make Image Trace behave the way Live Trace did for black and white line drawings. The results I get in CS6 are far inferior to those I got in CS3 in terms of retaining the look of the original raster image. Otherwise, I will have to leave CS3 installed just to do my Live Trace.
 
Here is a sample of what I mean. You can see the quality degredation in CS6 compared to CS3. (And it's much more obvious when it's full size and full resolution.)
 
My settings used in Live Trace (CS3) were:
 
The settings I tried in CS6 that gave the above result were:

View 24 Replies View Related

Illustrator Scripting :: Deleting Used Symbol Generates Error

May 31, 2012

I'm having difficulty writing a script that deletes all of the symbols in the document (as opposed to just breaking links or expanding which I apparently cannot do). app.sourceDocument.symbols.removeAll();When it reaches a symbol that's used in the document somewhere it spits out this error: Error 1200: an Illustrator error occurred: 1346458189 ('MRAP')

View 11 Replies View Related

Illustrator Scripting :: Getting Error 1302 - No Such Element Line

Oct 5, 2012

I am getting an error with a script i have used before without any problems.The script updates the only image at the bottom of a single page PDF and saves the changed PDF in another folder.
 
It asks me to locate the folder of PDFs to be modified.It asks me to locate the folder where the modified PDFs will be saved.It asks me to select the new image that will be used.It will then update the image and resizes it and save the PDF in the specified folder.
 
I don't get this error on all PDFs but i get it at least once every 10 PDFs  (and there are over a 1,000 PDFs).The error i get is this:
 
Error 1302:No such elementLine:27->      rip=doc.rasterItems[0].position;
 
I get this error regardless of whether the script is run in CS3 or CS5.

Additional info.I ran this script in CS3 and it worked. At a later date i ran another script on the folder of modified PDFs in CS5 that deleted any unnessesary elements outside the artboard, it selected All on the Artboard - then inversed the selection - and deleted any selected items followed by save and close.I have tried making sure the "new" image has the same name as the image being replaced but this made no difference.I am using Illustrator on Vista.
 
The script is below:
 
#target illustrator
function replaceImage() {

[code]....

View 4 Replies View Related

Illustrator Scripting :: Block Specific Error Message In JavaScript?

Mar 5, 2012

Is it possible to block this message with javascript?
 
I've already tried the following:
 
app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
 
This won't work.

View 3 Replies View Related

Illustrator Scripting :: CS6 PlacedItems Relink Method - Sometimes Producing Error

Mar 21, 2014

I am creating a script on illustrator CS6 that will loop through all the images and relink these images to there current location, it is used to update all of the links in the file. However sometimes when i run this script i will get the error 376('x ') i have searched for the meaning of this and cannot find it anywhere. It is being written in extendscript, the code i am using is shown below:
 
// execute the main function
main();
// Construct the main function
function main() {
        var retVal = "OK";
[code]....       

View 2 Replies View Related

Illustrator Scripting :: Restart Through Script (or Eliminate PARM Error)

Aug 10, 2012

I'm working on a javascript that goes through a folder, rasterizes the paths inside each file, and saves the results as separate files in another folder. My script works fine on individual files as well as for several simple files. However, once it gets going on some of the big ones, it starts to give me PARM errors.
 
Illustrator CS5.1Windows XP, SP3 (work computer)JavascriptThe CAD export that created the pdf and eps files broke any curves into tons of tiny straight lines. As a result, these drawings can have 15-35 thousand paths per image. 

Get the source and destination directoriesOpen a file from the source directoryGo to the first layer of the fileLoop through all text items to move them to their own layerLoop through all path and compound paths to move them to a groupRasterize the group of path itemsRepeat for the next layer and so onSave the file to the destination directoryRepeat the process for the next file and so on.The scripting guide suggests it could be from conflicting functions or global variables overwriting each other. However, my script is now entirely contained within its own function, and all variables are declared locally. Running from a clean illustrator and ESTK startup, it will still produce a PARM error after a few large files.
 
The guide also suggests having the script quit and re-launch Illustrator after working on many files. Since I assume these huge diagrams are probably several "normal" files' worth of objects each, I figured it probably just needs to restart Illustrator after x amount of stuff goes through. So I look in the guide's section on launching Illustrator through javascript. That basically says "Why would you ever need to do that?" I tried looking it up in the tools guide, but that document isn't very clear at all.
 
1. What would I have to do so Illustrator doesn't throw a PARM error on the line marked below? (besides just putting it in a try/catch and pretending it didn't happen) It doesn't consistently happen on the same file or even at the same point in the file, but always at that line.
 
This is just a tiny part of the script. objectClass is a placeholder for PathItems, CompoundPathItems, etc. Looping backwards and setting the group to null at the end were just experiments, neither of which had any effect on the error.
 
if(objectClass.length > 0){
    var objectGroup = myLayer.groupItems.add();
    for(var i = objectClass.length; i > 0; i--){
        objectClass[i-1].move(objectGroup, ElementPlacement.PLACEATBEGINNING); //This one keeps breaking stuff.
    }
    sourceDoc.rasterize(objectGroup, rastBounds, rastOptions);
    objectGroup = null;
}
 
2. Failing that, how can I relaunch Illustrator through javascript? Or a limited amount of VBScript, though my knowledge of that is limited too.

View 16 Replies View Related

Lightroom :: 4 - Give Preview Cache Error

Apr 1, 2012

Every time I use LR4, it encounters an error at some point in the first 10 minutes of use.  It always says, "Lightroom encountered an error when reading from it's preview cache and needs to quit".

View 2 Replies View Related

Illustrator Scripting :: Open Multiple AI Files Produce Error In Palette (8702 - No Document)

Aug 12, 2013

I try to open mulitple ai files through palette dialog but it fails on Error:8702, there is no document. But if i change to var win = new Window ("dialog", "Batch"); the open file works well. 
 
var txtSourceFolder =  win.add("edittext",undefined);
var btnOk =  win.add("button",undefined,"Run");
btnOk.onClick=function(){
try

[Code] ....

View 2 Replies View Related

Photoshop :: Error :: An Error Has Been Detected With A Required Application Library And The Product Cannot Continue

Apr 26, 2008

This evening I switched on and tried to load PS2.

The following pop-up appeared.

'An error has been detected with a required application library and the product cannot continue. Please re install the application.'

I've deleted CS2 and re installed but with no success, just the same error.

View 16 Replies View Related

Illustrator Scripting :: How To Automate Importing Variable And Datasets Into Graphs Via Scripting

Dec 18, 2012

I'm try to automate the importing of the Varaible and datasets into my graphs via Scripting, but the ImportVaraibles() function doesn't seem to work.  Here is my Script, mostly copied from the example script provided with Illustrator (CS5).  And, this works manually, using the file names in the script, via Load Variable Library
 
    Set appRef = CreateObject(strIllistratorVersion)
   
       'Open the file and import the datasets
        Set docRef = appRef.Open(strTemplate & "200-500.ai")
        'docRef.Datasets.RemoveAll
        docRef.Variables("Yearbook").Delete
 
Here is the problem, after I delete the previous library, then this next line, right from the example, does nothing
The script then exits with 'No Datasets in this document'
       
docRef.ImportVariables (strXMLFolder & "Lumber_200-500.xml")
'appRef.DoJavaScript "alert('Template:" & strTemplate & strRange & ".ai  |  XML file:" & strXMLFolder & ""  & objFile.Name & "^')"
        If (appRef.Documents.Count > 0) Then
            Set docRef = appRef.Documents(1)

 [Code]....
 
If I remove that delete line, the script runs, but just uses whatever Variables I had last loaded, not the XML file.
 
It's simply not loading.  What do I need to do to get it to load?

View 8 Replies View Related

Illustrator :: Give Logo Some 3D Elements - Possible With AI?

May 29, 2013

I've set out to give this logo some 3D elements for some pop. I don't want to just extrude the thing as if it was a cylinder, I want to extrue the Triniti symbol, circles, as well as the black and green quadrants in some way. Not exactly sure, but I'll figure that out later. Afterwards I will possibly be dropping the logo into Aftereffects and making some kind of animated 3D intro with it. Here is the logo:

So I took a png of the logo, auto traced the image in illustrator, and used the 3D extrude effect. This was the result:
 
Obviously not what I'm looking for. Even if I only extruded parts of the logo, the behavior of the 3D effect would never give me what I'm looking for. Looking at tutorials, the extude effect seems to only be good for text and non layered shapes.
 
What I'm trying to accomplish is something that I could see working just fine in some kind of CAD software like Solidworks. I would just select the features I want, and extrude them as I desired. I do have access that piece of software, but I feel like that is a wierd work around, and I would have problems when it came time to apply the proper colors, and when I would bring the logo back into after effects for animation.
 
I also tried dropping the logo into After Effects directly and did the whole "convert shapes from vector layer" and using ray tracing tried extruding it there, but I can only extrude the entire logo, not individual parts.

View 7 Replies View Related

Illustrator :: How To Give Image For Print And Not Web

Jun 1, 2012

So, I have designed a logo for a web site and the site owner wants it for a business card and letterhead.  Saving an image for web is easy and I understand all that but how do I prepare a file for a printer?  I'm guessing this is just nipping in to the local print shop on the high street.

View 2 Replies View Related

Photoshop :: How To Give Image The Effect Using Illustrator CS6

Apr 18, 2013

How to make an image look like the ones in this design:

and I haven't been able to figure it out.

View 3 Replies View Related

Illustrator :: Get Or Give Permission To Save As Templates?

Feb 28, 2013

how to get or give permission to save as templates?

View 7 Replies View Related

Illustrator :: How To Give Artboards A Different Background Color

Jul 5, 2013

How can l give my artboards a different background color? When l try it all my artboards get the same color. l tried it with the colored paper tool and in other way's. It doesn't work!

View 3 Replies View Related

Illustrator :: How To Make Objects Or Text Give Way To Each Other

Jan 6, 2014

What is the best way to achieve the effect below, where the square conforms to the shape of the D? Also, how do you make objects or text give way to other text, such as the attached Ugg logo or similar? I know you could put a white stroke, but then that makes the object itself look smaller.

View 7 Replies View Related

Illustrator Scripting :: Access Graph Data Through Scripting DOM?

May 6, 2012

Can you access graph data through the scripting DOM?

View 3 Replies View Related

Photoshop :: CS4 - Application Error

May 14, 2009

I am receiving the following error after approximately 5 minutes of use in Photoshop CS4: Photoshop.exe - Application ErrorThe instruction at "0x696336ab referenced memory at "0x00000080". The memory could not be "read". Click on OK to terminate the programClick on CANCEL to debug the program  This error eventually leads to Photoshop closing.  My OS is Windows XP. 

View 10 Replies View Related

Photoshop :: CS4 - Application Error

Jun 6, 2009

I just installed the CS4 Creative Suite 4. Everytime i try to launch photoshop cs4 i recieve an "Photoshop.exe Application Error." This error refferences 0x6963561b and that memory cannot be read at 0x0000008c. Can anyone please help me with this?? I have not even been able to use photoshop yet. I have already tried uninstalling and reinstalling the suite and I get the same results...

View 16 Replies View Related

Photoshop :: How To Import Object To Illustrator To Give A Stroke

Oct 6, 2012

I have created many different objects in Photoshop and placed them exactly where I want them. I do now however need a stroke, and the stroke in photoshop is rounded, and I need a stroke with sharp corners.
 
Therefor I need to import all of the images together into Illustrator and give them a stroke. The only problem is that when I import the images all of them get created into one object with a white background, and when I apply a stroke, it applies it to the rectangle surrounding all the objects. How can I fix this?

View 10 Replies View Related

Photoshop :: CS6 Application Moved Error

Aug 19, 2013

Today I have started getting an error message that Photoshop has moved. I only get this message if Photoshop is not running and I right-click on something and choose to Open With Photoshop.

If I launch Photoshop first and then right-click open with Photoshop everything is fine. If the Application really had moved then shouldn't Photoshop complain when I double click on it in the Finder or open it through spotlight?

View 4 Replies View Related

Photoshop :: CS3 - Whenever Open Any Application Get Error 6?

Oct 8, 2013

what is error 6,my computer hp630 is showing error 6 when ever i try to open the application{photoshop cs5}

View 1 Replies View Related

Photoshop :: CS4 Application Error Message

Apr 28, 2009

I have just recently installed CS4 on my work computer.  The first day I recieved this error message: "The instruction at '0x0e4c2c5b' referenced memory at '0x00000028'.  The memory could not be read."   The program immediatly shuts down causing me to lose all my work.  My IT guys uninstalled the program and reinstalled and yet I still receive the error everytime I open the program.  Any ideas?

View 2 Replies View Related

Illustrator :: Ruler And Info Panel Give Different Pixel Dimensions

May 26, 2012

The pixel dimensions in Illustrator CS5's Info panel are wrong.I have a web layout in Illustrator that I'm transposing into Adobe Muse, using Save for Web and Devices.
 
I want to use the X and Y coordinates and the dimensions of the objects in Illustrator to place them correctly in Muse, so that all the elements scale to the right size.
 
The Illustrator artboard is 960 pixels wide and the layout fits the artboard. Similarly, the site width in Muse is 960px wide.The measuring units are in pixels in Illustrator, but something very strange is going on.in the Info panel, a grouped object - a logo - is described as 16383 pixels wide and 211px high.
 
It's simply not possible, not least because the logo is taller than it is wide. But when I measure it with the ruler tool, it tells me that the logo is 136px high and 122px wide.
 
The problem only applies to this grouped object and it's not because it's grouped with some other thing that is 16383 pixels wide - the bounding box fits precisely round the logo when it is selected.

View 2 Replies View Related

Illustrator :: Graphic Style To Give Vector Drop Shadow

Jul 21, 2013

Im ok with Illustrator but not brilliant. What Im looking for is a Graphic Style that I can just add/load into my CS5 version of Illustrator that when I select it will give me a vector drop shadow under text
 
I would be able to edit the style to suit my text but struggling to create one from scratch after following write-ups and videos for the last 24hours!
 
Realise there are easier ways to make drop shadows but I need the drop shadow to be scaleable up to large sizes in a vector format as well as the text

View 5 Replies View Related







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