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
ADVERTISEMENT
Jul 17, 2013
What is the easiest way to package or collect font (to send out for printing artwork) in Illustrator Cs6?
View 3 Replies
View Related
Oct 25, 2010
I have a file with multiple externally-linked bitmaps. When I chose "Collect for Output" and check "Automatically gather all files associated with this document", it is not including those bitmaps. I had no problems with X3 or X4 with the same sorts of files.
View 14 Replies
View Related
Dec 18, 2012
im trying to parse a CSV file and output XML for Illustrator;
[URL]
here is a sample file That works,
[URL]
Im trying to turn this
[URL]
into something that works in Illustrator
View 1 Replies
View Related
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
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
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
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
View Related
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
Oct 19, 2013
will not allow me to attach screen shot from grab. Image not allowed is error message
View 3 Replies
View Related
May 6, 2012
Can you access graph data through the scripting DOM?
View 3 Replies
View Related
Nov 9, 2012
I want to bring into one new blank project about 12 images, resize them, mess about with them, reposition them etc...easy enough...BUT im stuck as stage one. I cant seem to simply bring in more than 1 image..next image appears on a new sheet...Clearly im using the wrong method...
Open new project, decide on size of project/paper. Then i click on....what....to bring in a photo....and then...to bring in another photo etc..
View 7 Replies
View Related
Oct 14, 2011
I created a smart collection with only one rule - Keywords/Contains/'Landscape' - but many other images that do not contain that keyword appear in the collection. It doesn't happen with any other keyword as far as I know. I tried re-creating the collection, re-keywording my images, etc. but with no success.
View 2 Replies
View Related
Jun 25, 2013
I use "Collect Files" all the time. I collaborate with other people and this function is obviously vital.I'm currently having an issue with it collecting comps that are not selected. I choose "For Selected Comps" and I check off "Reduce Project." The new file has the comp I want, but also others. And if I try another comp, it will collect the same additional ones each time. And In the generated report, it is listing the comps I don't want as collected.
It seems to be specific though, collecting comps that are from other .aep files that I've imported. And only comps from .aep files that where generated with Collect Files. In other words, basically anything I've round-tripped using Collect Files and imported after a collaborator has finished their work.
I'm using AE 12.0.0.404 and I'm on OSX 10.8.4.
View 2 Replies
View Related
Mar 16, 2013
the Script of creating mirror text and stroke text in Adobe illustrator scripting.
View 4 Replies
View Related
Aug 30, 2013
I need to output an illustrator file to a 10x10 rasterized jpg. but when I output it as a jpeg it ends up being 1502x1502 (which is 8x8 inches unless I am wrong?) The image is a series of patterns which needs to end up being 10x10.
View 3 Replies
View Related
Sep 17, 2013
When purchasing AI CS6 I was told that I'd be able to export vector only drawings as DXF files. How to do this starting at the very beginning. I've used CAD programs for years and also have experience with Corel Draw however to date most of what I've found posted on the internet having to do with AI dxf export tells me people have difficulty doing this and even when they can the results are messy. I realize AI produced drawings may need to be optimized to reduce the number of points but aside from this any way, from the very beginning including where to look for the necessary commands .
View 1 Replies
View Related
Jul 28, 2013
With CS6, why can't I output eps data from PDF, as I could did in use with CS zero version?
View 1 Replies
View Related
May 23, 2012
From the save for web. Why AI cs6 can't output html file?
View 3 Replies
View Related
Jul 17, 2012
Its really annoying that I cant change the output settings when I save for web something. I just want to tell Illustrator that I dont want to create a new images folder everytime I save something, and I dont want to add a _N at the end of the file name...
Is there a way to change this?, I couldnt find it.
View 16 Replies
View Related
Jun 6, 2012
If the "Output to Swatches" feature is still available in Illustrator CS6 (image trace options)? The online help states that it should be but it's not there anymore.. URL....
View 3 Replies
View Related
Aug 26, 2012
The prepping process should be really simple right? Separate colour layers, using Illustrator, then print each layer onto transparency sheets. Well I'm about to loose my mind.
The image is CMYK, its a single spot colour (I think) which is red and the outlines are black. Printer is a Canon ix6500.
I can't seem to separate the colours in Illustrator CS3?! Why?! When selecting Print > Output > Mode > it won't allow me to select Colour Separations.
I've tried to overcome this by selecting Printer > Adobe Postscript and PPD > Canon ix6500 series. This allows me to select Colour Separations, but then it won't print, it only saves it as a PDF, and prints it as is.
View 14 Replies
View Related
Nov 23, 2012
Essentially, I need to crop some work to the artboard. I've read about export option but I need this design to import into Flash. My instructor will not permit anything but vector drawings. I can't export to any sort of raster format or pdf. Ideally, it needs to remain as an ai file. When I do the import from Flash, it keeps everything outside the bounds of the artboard (highlighted in red on my screenshot).
This is a group project. I didn't do this drawing, I just wanted to add the perspective lines to the floor. Now it's a bit of an untidy mess when it goes to Flash. And Illustrator is not my strong point. I did try unsuccessfully to "erase", Scissor, knife and a few other things but I really don't know how those tools work. I also tried the clipping mask approach but it didn't want to combine my rectangle "mask" with the lines on the floor.
I'm using AI CS4 and Flash CS6.
View 5 Replies
View Related
Jun 17, 2009
In older versions of Illustrator (8 & 10) I can change the lpi to a 20 or 30 with a GCC Elite XL printer and have no problem printing BIG dots on vellum paper for screen printing on T-shirts.
I'm running newer version (CS2) now, and I can set the halftone to 20 lpi, but when I print it to my HP 5si mx printer, it comes out looking as smooth as a paper printed dot can look! Not what I want!! I've tried changing all kind of settings, both on the printer menu, and in the print dialog box. But my HP seems to default to an 'enhanced' halftone dot!!! My GCC is getting really old, only has drivers for 8 & 10, and I need a back up in case it dies someday and I can't print those big dots anymore!
I can't update to newer (600 or 1200dpi) printers because I need to print at 300dpi so my dots come out looking big and bold. I know, I know, it's not what most people want these days, but it's what I n
View 3 Replies
View Related
Jul 21, 2013
When I go to print and select output, the mode selection is locked and I am unable to select separations. Using CS6.
View 1 Replies
View Related
Dec 28, 2011
I need to output dashed paths to a 3rd party device that will draw/cut those dash marks on material. I have found methods in the AI SDK that describe what the dash marks look like (ie GetPathStyle, etc).
But this requires me to perform all the calculations of where those dash marks actually appear along a path which Illustrator has already done (since it displays those dashes to the screen).
Is there a method(s) that already exists that I can call and it would return me the start and end points of each dash mark that appears on a path? I have started working on the code to do this but can see that it is going to get pretty involved and was hoping that this was already available in the sdk and I just missed it.
View 8 Replies
View Related
Jun 25, 2013
A customer sent us their label in an AI file. Trying to print this onto a 3 x 1 label (which is small), the output looks pixelated. Looks like the whole thing is a graphic rather than text.
I have attached an image of the label as an example. **Please note that the label is copyrighted. Please do not re-distribute or otherwise print.**
View 17 Replies
View Related
May 3, 2010
I am just trying to save a PDF from my illustrator file. However, when I go to Save as, and select PDF, no dialog box opens to allow me to set how I want the file outputted. IF I just hit enter, the file does save.. its just like the Dialog box is hidden or not appearing. The reason I need the dialog box is because I need to add bleeds to the PDF and my default save doesn't do that.
View 3 Replies
View Related
Jun 3, 2012
I'm having problems with printing a color seperation. I'm working with CS5 and it won't allow me to print seperations to a pdf-file. I tried to print to an Adobe PostScript file, but also this won't allow me to select the Separations (Host-Based) or In‑RIP Separations Mode as that option is greyed out.
I followed: [URL]
I made sure all colours are in cmyk and already unsuccessfully checked google for solutions, but i'm sure that i'm just missing a simple option.
View 5 Replies
View Related
Nov 10, 2012
I am making a holiday greeting card. I have 16 very larged photo images "linked" (not embedded) into the card. The original images are very large (e.g. 4500 x 3000 px, 10mb) but I've placed them fairly small in the final card (only about 2" x 2" printed). Therefore, I likely don't need the full resolution of the original photos. I need to generate a final file that I can send to an online print shop, something that is ideally 10-25Mb in size, probably pdf. How to prepare the final file for export to pdf to generate as such? Right now, the final file is 275Mb because it is embedding the full size of each of the 16 images.
I'm on Illustrator CS6 on Mac.
View 7 Replies
View Related
Jul 15, 2013
How do I change the mode settings in output from composite to separations?
View 3 Replies
View Related