Illustrator Scripting :: Getting Page Count For A Multi-Page PDF File?

Jun 25, 2009

how to get the page count of a multi page PDF file?  I know you can then open each page using the PDFFileOptions (pagetoopen).  But I need to know up front how many pages there are to loop thru to open each page and process each page.

View 8 Replies


ADVERTISEMENT

InDesign :: Setup Datamerge File To Create Multi Page Spread Documents With Fields On Different Page

Apr 1, 2014

Trying to set up a datamerge file to create multi page spread documents with fields on different pages. Attempting to set it up so it's as automated as possible as there are up to 20 different merge documents needing to merge with up to 100 different csv records from the same file each week .  The merge documents have different and repeated merge fields on most pages. 
 
I've set it up so that the document has facing pages, and most pages have images spread across the whole of the spread.  the pages preview fine, they are created ok when using 'Create Merged Document' although the page numbers continue from one document to another (another problem).  but when I come to export to pdf, then the merge only shows the image on the left spread but on both left and right spread single pages, and the page numbers don't show the correct page numbers eg it will go p1 p2 p1 p2 etc all the way through the document instead of p1 p2 p3 - p20 etc.  I don't want to have to merge first then pdf but can't understand why the images and page numbers are not showing correctly. 

View 2 Replies View Related

Illustrator :: Save Page-tiled Document As Multi-page PDF In CS6?

Apr 4, 2013

This was very easy to do in earlier versions of Illustrator, but now it seems like the only option is to make a separate artboard for each page tile!

View 1 Replies View Related

Illustrator :: Multi Page AI File And Save As

Jan 10, 2013

When I have a multi page Ai fil e (50 pages) and 'Save as', it saves more than just the single page I specified (ie. Range 1-1)... it saves all 50 over again? How do I just save 1 of the 50?

View 1 Replies View Related

Illustrator :: Can't Edit Multi Page PDF File At Once

Sep 19, 2013

I made 30-page PDF file in Illustrator last week.
 
Yesterday my co-woker eited and sent to me. But i can't open 30-pages all in once, instead of this window pops up and only 1 page of all open it. How do I open all the page and edit it once without any script?

View 1 Replies View Related

Illustrator :: Convert Each Logo / Layer To Multi-page PDF File Just For Viewing

Sep 16, 2012

What if I have created 7 logo versions. I want the client to view these 7 versions as one file (maybe one PDF file with 1 logo per page). Each logo version is on its own layer in Illustrator right now. How do I convert each logo/layer to a multi-page PDF file? Since this is just for viewing, I don’t have to submit EPS files yet to the client.

View 7 Replies View Related

Illustrator Scripting :: Adding File Name And File Full Path To A Page

Mar 28, 2012

I'm new to scripting What I want to do and don't know how to go about it is to run a script that collects the saved file name and the full path where the file is saved on the network and displays it on my document.

View 2 Replies View Related

CorelDRAW Graphics Suite X5 :: Change Ruler Scale Per Page In Multi-page Document?

Oct 16, 2010

I quite often need a separate ruler scale on each page of a multi-page document. The only way I know how to do this is to create  a separate document for each drawing that requires a new scale.

I request that you add the ability to change the ruler scale on a per page basis within a single multi-page document.

I am using CDR X5 SP1.

View 3 Replies View Related

Illustrator :: Multi-page PDF Downloads?

Oct 30, 2013

How do i download multipage pdfs within the Adobe illustrator program?  I know it is some sort of module within scrips..

View 11 Replies View Related

Illustrator :: How To Create Multi Page PDF In CC

Feb 7, 2014

used to be able to do it easily in CS but doesnt seem to be available when saving a PDF file in CC?

View 7 Replies View Related

AutoCad :: How To Plot Multi Page That Contain In Single File

Oct 18, 2012

Now, i have some problem about plot many page that contain in 1 file same this pic >>

[URL]........

I have many files and i want to save time to plot (=o=!!).

View 4 Replies View Related

Photoshop :: Converting Multiple TIFFs To Multi Page PDF File

Nov 30, 2012

My Windows 7 PC does have CS5 installed. I also have a full Office 2010.
 
I've got 32 TIF files, each the page of a comic book. i want to crete a 32 page PDF file. Turning one tiff into one PDF in Photoshop is easy. But two or more into a single pdf document... I don't see how.
 
I went to some other forums and was called 'stupid', 'lazy' etc. and am very frustarted at this. I simply cannot spend any more time researching because I have wasted days doing just that.

View 4 Replies View Related

AutoCAD Architecture :: Import Multi-page Excel File?

Feb 8, 2013

I know that if I use IMPORTOBJ I can import an excel file....but the file is multiple pages (within the same workbook page). Is there a way to bring that in withought breaking up the Excel file into mulitple files?

View 1 Replies View Related

Corel PHOTO-PAINT X5 :: Opening All Pages Of Multi-page TIFF File?

May 15, 2013

When opening a multi-page TIF file, there are options to open a specific page, a range of pages, or all pages.  Unfortunately, the options for range of pages or all pages are dimmed, and cannot be selected.  What can we not select these other options?

View 1 Replies View Related

Illustrator Scripting :: Page Item Name Property In UI

Jan 14, 2013

Does name property of a page item appear anywhere in the user interface in Illustratpr CS6? I thought it would be the name you assign to it in the Layers palette, but it does not appear to be.

View 2 Replies View Related

Illustrator Scripting :: Accessing Elements Of A Page Item

Jan 6, 2014

I am working on a script that performs a series of things on all of the artwork in a document.  At one point, it needs to compare the fill color of every item to a sample color.  The problem is, the artwork is a collection of compound path items and path items.  When I look for pathItems[x]. fillColor, it works fine.  When I look for compoundPathItem[x].fillColor, it comes back undefined.  So, I've moved to looking at page items, but I seem to be unable to get to the internals on the page items.  If I have a compound path item, how would I address its properties from its parent page item?  I tried:
 
pageItem[x].compoundPathItem.pathItems[0].fillColor,
pageItems[x].fillColor,   & 
pageItems[x].compoundPathItem.fillColor. 

View 9 Replies View Related

Illustrator Scripting :: AppleScript Placing Page From PDF Into Layer

Sep 20, 2012

I have a PDF file with 25 pages that I need to get into the form of an Illustrator file with 25 layers. I found the example of opening a particular page of a PDF file (using CS6), and that works. And I can create layers. But I can't figure out how to place a particular page of a PDF file into the new layer. Where/how do I provide the page info?
 
(I have a PostScript program that generates artwork for signs that are to be laser etched at the TechShop. The laser interface uses Illustrator and a special Print driver. I notice that opening a page from a PDF file positions the contents slightly differently than placing that page, when I do it manually, so I figured I'd create the multilayered Illustrator file by opening one page (which works) then placing all the pages in their own layers, then deleting the first page. Then the positioning will be consistent. But I'm stuck at placing a PDF page...)
  
tell application "Adobe Illustrator" to activate

-- This function opens the file passed as
-- a file reference parameter, at page myPage.
-- fileToOpen is a reference to a multi-page PDF file
-- and needs to be set up before calling this function.

on openMultipageFile(fileToOpen, myPage)
tell application "Adobe Illustrator"
set user interaction level to never interact

[Code].....

View 2 Replies View Related

Illustrator Scripting :: CS4 - Remove All Hidden Page Items?

Jan 26, 2012

I'm trying to remove all hidden page items regardless of how many sublayers they are burried in. I wrote a snippet here that seems to only partly work. It removes all hidden page items unless two hidden items exist right after each other in the stacking order.
 
for (i=0; i<doc.pageItems.length; i++){
if (doc.pageItems[i].hidden == true){
doc.pageItems[i].remove();
}
}

View 3 Replies View Related

Illustrator Scripting :: Rotate Whole Document Page In Vbscript

Apr 19, 2012

in an open PDF File  i press 'Ctrl+A' to select all Items in the document, then i choose Edit/Transform/rotate ... 90 degree.now i'd like to do the same with an vbscript.
 
the best thing i could find is:

rotate(90)
Sub rotate (degree)
Dim appRef, argument, element
Dim changePositions, changeFillPatterns, changeFillGradients, changeStrokePattern, rotateAbout
Set appRef = CreateObject("Illustrator.Application")

[code]....
 
not all, but all elements i am interested in are rotated - it would be better if really all elements would be rotated the elements are rotated around 'aiTransformDocumentOrigin' ... i would prefer if they are rotated around 'middle of document'.

View 3 Replies View Related

Illustrator Scripting :: Make All Text On Page Dynamic?

Jul 5, 2011

Is there a way or a script that will make all the text on a page Dynamic? At the moment we have to select each text box and press 'make text dynamic', which can get tiresome with a lot of text boxes. If we select all the text boxes and do the same we get a lot of variables with the same name which gives an error.
 
So we need a script that can make it all dynamic with different named variables.

View 3 Replies View Related

Illustrator Scripting :: Filter Page Items By Property In JavaScript

Aug 9, 2012

What is the Javascript equivalent to this AppleScript?
 
set xxx to every page item whose note = "John"
 
After looking at some of the tutorials, I pieced this together. Is there a better way of doing this? With 30,000 path items it took over a minute to execute...
 
docRef = app.activeDocument;
var pathLength = docRef.pathItems.length;
docRef.pathItems[0].note;

[Code].....

View 4 Replies View Related

Illustrator Scripting :: How To Read Swatch Used For Fill Color Of A Page Item

Mar 21, 2012

Is there a way to read the swatch used for fill color of a page item?
 
I can read the fill color but I can't read if the color is a global swatch.

View 2 Replies View Related

Illustrator :: Second Page Of Two-page PDFs Printing Upside-down?

May 8, 2013

In the past two days, two-page PDFs that I save out of CS6 are printing with the second page upside down. I have tried resaving the documents—didn't work. Tried saving the documents as individual PDFs and combining the PDFs in Acrobat—didn't work. I have had my colleagues print them, and the second page is upside-down too. When I print two-page PDFs that I saved last week or longer ago, I have no problem at all. It just seems to be happening with recently saved PDFs. I didn't update any software on my computer between saving the PDFs that are printing correctly and when this problem began.

View 11 Replies View Related

Illustrator Scripting :: Can Tint Be Adjusted For Items On Page That Have Spot Color Applied

Sep 27, 2012

I have been trying to mess with and target "tints" via javascript but either I am not understanding something or it cant be targeted as I had hoped, so I am looking for direction and guidance. I have a spot color assigned in the color swatches palette, and have drawn a few boxes on the page using this spot swatch. I then try to alter the tint using JS code.
 
sel[i].tint = // whatever number
alert(sel[i].tint) // This alerts fine
 
The alert shows a change taking place but it never gets applied to the item, the actual item never gets changed. I know things are properly targeted as I can change other attributes fine. When I look in the JS documentation it just shows for when creating a new spot, not for ones that already exist on items, I cant seem to find an example otherwise.
 
Can tint be adjusted for items on the page that have a spot color applied?

View 8 Replies View Related

Illustrator Scripting :: Apply Every Swatch Library Color To Path Items On Page?

Oct 1, 2012

I'm trying to write a script that applies a single swatch to a single path item and repeat for every swatch that is currently contained in the swatch library. This script that I have written is only applying the last swatch in the swatch library to every path item on the page. Currently I'm more concered with getting each swatch that is currently in the swatch library to be applied at least once before worrying about applying the same patch to any extra number of patch items compared to the swatches.length.

// Apply every swatch library color to path items on a page
if ( app.documents.length > 0 && app.activeDocument.pathItems.length > 0 ) {
doc = app.activeDocument;

[Code]....

View 11 Replies View Related

AutoCAD Inventor :: Exclude From Count Breaks Page Number When Unchecked

Apr 8, 2013

I had some sheets that I wanted to hide so I clicked exclude from count and exclude from printing. 

Now I want to put them back, if I uncheck the boxes the page numbers don't show up in the border. Neither will if give a page number to the pages that were previously hidden in the browser. 

Inventor 2013

View 2 Replies View Related

Photoshop :: Multi Page JPG

May 6, 2013

We received a jpg file that seems to gave 2 pages when you view it in Bridge.

When we open the file in Photoshop or link it in Indesign or Illustrator we only see the 1st page or view of the file.

I was very surprised to see this in Bridge, as far as I know it is not possible to even make a multi page jpg file.

View 3 Replies View Related

Photoshop :: Placing A Multi Page PDF

Mar 21, 2013

I am trying to create an action that would open a muli-page PDF file, select all the pages and place each page on its own layer, in the same Photoshop document.

Right now, it makes a new document in Photoshop of each page? Is there anyway to do this? With or without making an action?

View 5 Replies View Related

Photoshop :: Create Multi Page PDF With CS3

Feb 1, 2009

I have created 8 A4-sized PSD documents in Photoshop CS3 and I would like to create a single PDF document with 8 pages.

View 10 Replies View Related

AutoCAD LT :: Publish To Multi-Page PDF

Dec 19, 2012

I am using AutoCAD LT 2009. I have AcrobatPro installed on my machine as well.

I seem to have lost my ability to publish a a bunch of dwg files and have one PDF file as the output. It used to work fine...I would hit publish, add all my dwgs (all model tabs), configure all page setups to be one of my Adobe PDF options (I have few configured, one for color, gray, B&W, etc), hit the publish button and then adobe would be prompt me for a file name, and then voila - I have one multi-page PDF of my drawing set.

Where it got lost and what happened, I don't know. As for trying to fix it, I have tried everything below, but nothing that gets me back to where I was:

1. Tried using the built-in "DWG to PDF." At best, this will automatically generate a PDF for each drawing without any input from me. I then used Adobe to combine all the drawings into one file. I could live with this, however, the resolution of the PDF's is not enough. I even tried changing the resolution setting to 1200dpi...stills comes out bad.

2. Using the "Adobe PDF." I get prompted by adobe for a filename for each dwg. This is very tedious. However, the output files look nice and much better resolution than #1.

3. There seem to be a lot of mention in hte forums to a system variable PUBLISHCOLLATE. This does not exist in my list of system variables (maybe because I am using LT). I tried setenv command to create the variable and toggle it from 0 to 1...this does not affect anything.

4. Within the Publish Dialogue - There is no mention of PDF anywhere. My only options for 'Publish to' are 'Plotter named in the setup' or 'DWF'. Within the Publish Options, nothing related to PDF...only options for DWF. I have tried changing these anyway, not affect.

5. Toying the pc3 - I tried changing some settings with PC3 file (Adobe PDF and DWG to PDF)...nothing fixed the problem. I tried setting collate from NONE to REGULAR, tried changing port to AUTOSPOOL, PLOT TO FILE, PLOT TO THE FOLLOWING PORT...nothing worked.

View 9 Replies View Related

CorelDRAW X5 :: Splitting Multi-page Document

Oct 10, 2013

I have a multi page document that has twice the size I originally I thought it would so have decided to split it. What is the best way to do this?

I can only think of copy and paste each individual page into a new doc but if there is another way to chose multi pages by the tabs at the bottom.

View 4 Replies View Related







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