Illustrator Scripting :: Place PDF Pages

May 15, 2012

Carlos, you created a script i believe called AI_openMultiPagePDF.However i was wondering if you could change it just a bit and instead of opening the files, could you use the PLACE command instead?
 
The problem i have had is that some PDF's have embedde fonts that i dont have but if i place it, then flatten transparency>Convert Outlines i can use the PDF excatly as it was and not have it convert the fonts.
 
Is that an easy script change?
 
#target illustrator
#targetengine session
// script.name = AI_openMultiPagePDF_CS4_CS5_v1.02.jsx;
// script.description = opens a multipage PDF;
// script.required = requires CS4 or later
// script.parent = CarlosCanto // 01/07/12;  v1.2-01/15/12
// script.elegant = false;
 
I didn't try opening a ridiculous amount of pages, I "only" open 35 pages....in about a minute and a half. Use with caution, save everything before running, script is memory intensive...
 
// Lion fix by John Hawkinson 01/15/12
START UI CODE, create user interface
var win = new Window ("dialog", "MTools - Open Multipage PDF");
 [code]....

View 12 Replies


ADVERTISEMENT

Illustrator Scripting :: How To Place Textframe Central To Artboard

Apr 15, 2012

This is my very first attempt at a script: 
 
* this script will prompt  the user for a file name and location and then save the current file as a .pdf with secure save options*/
var curDoc = app.activeDocument;
var destName = prompt ("Enter a Filename Daniel", "", "Save With  Security");
var destFolder = Folder.selectDialog('Select which folder to save to :');
saveFileToPDF(destFolder+ '/' + destName); // not sure if i need this here ?

[Code] .......
 
i can do the math of (artboard width)-(text width) / 2 is start point of text but how do i find out the text width and the artboard width?

View 11 Replies View Related

Illustrator Scripting :: How To Place A Swatch Pattern On A Layer

Jan 1, 2014

I recently created a script that reads the layer names of an Illustrator file, and uses the name to identify a swatch to use to pattern all elements on that specified layer. The script works well, and is a real time saver for our mapping staff, but it requires duplicate swatches to exist, where the only difference is their colour.

To improve the script I want to duplicate a swatch and modify its' colour before applying it to a specific layer. I think the only way this can be done is via the "placedItems" command. So the code I'm trying to write looks likke this:
 
for(var s=0; s<slib.length; s++){                                // search swatch library
    var pat=slib[s].name;                                             // get swatch name

[Code]...
 
However I'm struggling to find the correct syntax to make this work.

View 2 Replies View Related

Illustrator Scripting :: Paste In Place Across Layers Script

Jun 1, 2012

I'm looking for a script to paste an object (paste in place) on top of all other layers in a file.
 
I know I can position a single object on the top layer and then turn the bottom layers on and off, but for my needs (and in this situation) I need to actually paste that object onto each layer.

View 1 Replies View Related

Illustrator Scripting :: Using AppleScript To Place PDF As A Link At Crop Bounds Other Than Art Box?

Mar 20, 2012

trying to have an applescript place a PDF as an Illustrator Link at the PDF's Media Box using "make new placed item". The only result possible as far as I can tell is a link at the PDF's Art Box.
 
I've seached around and have seen others with the same issue, but no answers as to whether it is actually possible. As with most Applescript stuff, I am either way overthinking it or it is not possible directly.
 
Currently I have a workaround using an Applescript script controlling Acrobat to sidestep the problem by setting the Art and Crop box to Media box, then place as a link in Illustrator, but it is not a direct route into illustrator.
 
I have also noticed that in the "Adobe Illustrator CS5 Scripting Reference" that the "PDF options object properties" do not honor the PDF crop bounds (except for the default value of Media Box). Is this an inherent problem with Applescript/Illustrator and PDF crop boxes? Could it be that the options for Open PDF and Place PDF are crossed?

View 7 Replies View Related

Illustrator Scripting :: Place / Import File To Visible Layer?

Jul 26, 2013

I have been working on a script to place a psd file onto only one visible layer (document has multiple hidden layers). This java code has worked so far:
 
var doc = app.activeDocument;
var onFile = File("C:/Users/Desktop/Desktop/ExportedArtboard-01.psd");
var mydoc = doc.placedItems.add();
mydoc.file = onFile;
mydoc.embed();
 
however this works with only the top layer visible (eye turned on in Ai). if top most layer isn't visible i get "target layer cannot be modified" error.

For instance say i have 1,2,3 layers. layer 1 (top most) and 3 (bottom most) would be hidden, layer 2 (middle layer) would be visible and then running the script would place the psd file on to layer 2.

View 3 Replies View Related

Illustrator Scripting :: JavaScript To Place Image With Calculated Path And File Name?

Sep 21, 2011

Is there a way with JavaScript to place an image with a calculated path and file name?  I have 30+ artboards per document, each artboard named by product number.  The actual file name of the master AI file is also already established (meaning every document I use this new script on will have already been saved).
 
Here's the scenario I'm hoping to create in the context of the documents mentioned above:

Run a script to "Place" a linked image based on the following calculated path:
 
["S:SAPCurrent Images in SAPStock Schools"] + [current ai filename minus the .ai extension]+[a hyphen like this "-"]+[currently selected artboard name]+[".jpg"]
 
This image link can be placed on a new top layer called "Images" or if necessary on the currently selected layer.  Dimensions of the placed image should be a pre-determined size 8"x8".
 
Error if the ai document has not been saved yet.

View 11 Replies View Related

CorelDRAW X5 :: Place Multiple Pages From Merge Object To A Single Page

Oct 22, 2011

I am creating an object that has four text boxes in an object that is about 2" x 4".  When I do the merge, I end up with multiple pages, all 2" x 4".  How can I now move those pages spaced about a larger page, say 11" x 17" so I can have positioned and print multiple 2" x 4" objects on the larger sheet?

View 2 Replies View Related

Illustrator :: Automate Object Selection From A Place On Window To Another Place On Artboard

Dec 24, 2013

I want automate selecting an object from a place on the window to another place on the artboard in Illustrator.

View 1 Replies View Related

Illustrator :: Cut And Paste In Place From A Layer - Not In Right Place

Jun 8, 2012

I cut and paste in place from a layer to an other and its not in the right place. it seems new since CS6

I have multiple artworks on my file but i could do it since then. do you now how to not talke care of it ?

View 8 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 Scripting :: Access Graph Data Through Scripting DOM?

May 6, 2012

Can you access graph data through the scripting DOM?

View 3 Replies View Related

Illustrator Scripting :: Create Mirror Text And Stroke Text In AI Scripting

Mar 16, 2013

the Script of creating mirror text and stroke text in Adobe illustrator scripting.

View 4 Replies View Related

Illustrator :: PDF Grows New Pages

Dec 20, 2013

I needed to re-use an existing pdf (for a business card, with bleeds and marks), which was last saved with AI CS6.  So, in order to get the filename in the "new" pdf to reflect the new use, I opened in in Illustrator CS6, and just re-saved with the new filename.  Now my 1-page pdf suddenly has 4 pages; pages 1 and 2 look like they should, but pages 3 and 4 don't have bleeds showing.!  What??? 
 
I used a custom in-house joboptions file for the settings; this joboptions file did start in InDesign, but has never caused problems before, and I have used it often in Illustrator.  I just deleted the extra/new pages, and proceeded, but I am confounded by this.

View 4 Replies View Related

Illustrator :: How To Put 2 PDF Pages On One Page

Feb 5, 2013

I want to put 2 .pdf pages on one page. I used to do it with Illustrator (CS5) and it worked just fine up until now, but now (when I import .pdfs) Illustrator gives prompts like:
 
"The font Arial is missing. Affected text will be displayed ..."
 
Is there any way of eliminating such prompts with those .pdfs?

View 4 Replies View Related

Illustrator :: Set Inner Bleeds For Facing Pages?

Apr 27, 2013

I am designing the layout for a 8.5" x 8.5" children's book to be uploaded to an online publisher, and they require a .25" bleed around all the outside edges, except for a no ink area of .125" on the bind side. The document must be set up for single pages rather than spread. The document must be saved as postscript so I can create the pdf using Distiller (per the printer). How do I accomodate a different set of bleeds for facing (even/odd) pages within one Illustrator document?
  
Here are the guidlines I was given (this is the only image):
[IMG] [URL] [/IMG]
 
Is this even possible? Or will I need to use InDesign? The document is already setup in Illustrator with an individual artboard for each page, and I'd rather not go through the hassle of transferring it all to InDesign. If I must, though, what is the best option for setting it up as an InDesign document, and how can I adjust these bleeds accordingly while retaining a singlepage pdf for saving as postscript?

View 1 Replies View Related

Illustrator :: How To Split The Template To Get Two 8x11 Pages

Feb 4, 2013

I have a brochure design that is on a 11x17 template. How can I split the template so I will get two 8x11 pages

View 5 Replies View Related

Illustrator :: CS5 - Viewing Multiple Pages In PDF Form?

Dec 13, 2012

Every time I open a multi-page pdf in illustrator, it only opens the first page..  Why is this, and is there an option to change it? CS5

View 1 Replies View Related

Illustrator :: How To Print One Design Over Multiple Pages

Feb 1, 2013

I work on Mac and would like to print a design over multiple pages.  The recurring problem however is that the printed sheets have a thin unprinted, blank border.  I've tried various options in the print dialogue box, including all the borderless page setup options.  This 2mm border keeps appearing in my prints.  This is for silkscreening, so even though its only a 2mm border, this gap prevents me from putting all the printed sheets together as one design. The design, via the print dialogue box, is being saved as a PostScript file due to doing colour separations. 

View 7 Replies View Related

Illustrator :: How To Make Vertical Book With Transparent Pages

Aug 27, 2012

with this figur in Illustrator cs6,
 
it is like a vertical book with open transparant pages,

View 2 Replies View Related

Illustrator :: Facing Pages Layout (with Cover Page) CS6?

Jan 17, 2013

is it possble to arrange artboards in Illustrator CS6 so page 1 is on its own and pages 2 and 3 (and 4 and 5 etc) are facing each other as they would be in a printed book.  In other words the same way as in InDesign?

View 2 Replies View Related

Illustrator :: How To Break Up Large Document Into Multiple Pages

Aug 26, 2012

I am creating a poster in A1 format.  My printer can only print up to A4, so I would like to break up my poster into 8 A4 pages to print a preview before sending the doc off to the printer.

View 4 Replies View Related

CorelDRAW Graphics Suite X4 :: Exporting Multiple Pages To Illustrator?

Dec 11, 2012

When I export a CorelDraw file with multiple pages to an .ai file, the resulting file has only the first page. Is there a way to export all pages of the document to .ai?

View 13 Replies View Related

Photoshop :: Save Pages As TIFF Files Will It Be Same As Outlining Fonts In Illustrator

Sep 1, 2013

I'm making a book with large full bleed illustrations on each page.For ease of use I would like to use regular photoshop fonts. If I flatten and save my pages as Tiff files will it be the same as outlining fonts in Illustrator? In other words I won't have to include fonts. I am then going to drop the pages in InDesign in correctly paginated spreads to staple in the middle.

View 5 Replies View Related

Photoshop :: PSD Place In Illustrator

Aug 3, 2007

I have some specific layers I created in PS that I need to maintain when I import it into Illustrator. What is the best way to do this?

View 9 Replies View Related

Illustrator :: Can't Place Pictures

Nov 14, 2013

I've been using Illustrator CC from the cloud on Mac OS 10.6.8 fine for months and today after Placing some jpegs into my document it's stopped letting me place anything! I can't even re-link the images that are already there. I've also tried to make a new document.

View 2 Replies View Related

Illustrator :: Can No Longer Place PSD Into CS5

Jul 29, 2012

All of a sudden I cannot place a PSD file into Adobe illustrator? When I drag it in nothing happens. If I use the menu and try to place one nothing happens. If I open up an old file that use to work fine the images now don't appear and just show X'd boxes in keyline view as if the linkage is broken but it's not?

View 3 Replies View Related

Illustrator :: Can't Place Image With CS6

Aug 6, 2012

Recently updated to CS6 but one thing very frustrating is that File>Place does not work. When I select it a window will pop up, but as soon as I select any image from the window the entire Illustrator application stops working.
 
I was forced to switch back to CS5.

View 2 Replies View Related

Illustrator :: Cannot Place Any Graphic In CS6

Aug 28, 2012

I try to place a jpg or psd graphic inside a normal Illustrator document. Illustrator tells me the graph has no color profile (what is not correct - it has) but whatever option I choose nothing happens - no graphic is placed, I get no cursor to place the graphic. Or Illustrator just crashes. This used to work just fine in earlier version... I use CS6 cloud version.

View 3 Replies View Related

Photoshop :: Place An Object Like Illustrator Does

Aug 17, 2009

I need a way for Photoshop to place an object like Illustrator does. Sure, Smart Objects are nice but I need a method where I have a PS file and 1 or more layers in it are referenced. When these references are updated the PS file should update automatically (yes, I will have to have the file open and save ...). Illustrator does this ... page layout apps do this. I need for PS to do this or find a work method that will help do this. Any thoughts? The specific details:We have several hundred images of our app's interface. The images are composites of generic interface and language-specific interface. To make things easier when updating or translating docs we snag the local parts of the interface.We would then place and align the separate images in FrameMaker. We're moving to a new tool and output and we need to put all of the images together in a single image file but want to retain the ability to only update the localized sections. Smart Objects are not smart when trying to do this as they require you to either (essentially) re-import the object (using Replace) or edit the object from the composite image. This obviates the ability to simply replace the target image and have the composite update. So ...

View 1 Replies View Related

Illustrator :: Unable To Place Images In CS5?

Jul 30, 2012

I have been using CS5 Illustrator for over a year now and have had no problems until yesterday when I opened illustrator and was unable to place any images.
 
I can click on 'place' and go find the file, it appears to go through the right process then there is no image on the artboard at all, anywhere. Then I decided to open up previously made files that contain placed images and all they have is a bounding box with no image. The Links panel recognises the name of the file but no image is visable, even as a thumbnail.

View 6 Replies View Related







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