Applescript vs  PDF more pages vs Tiff

Does anyone know a script that can makes tiff images from a multipage PDF.
I don't know how to automate this procces in photoshop, Because the PDF files have more or less pages and I need a tiff image from every page.
Does anyone know this. So a folder with PDF files and make tiff images from every page of every PDF. Keeping the file name and add the page number at the end?
PDF : 2008-merging.pdf / 2008-merging.pdf-p1.tiff / 2008-merging.pdf-p2.tiff / ...
If you know this , it would be great if you want to share it.
Thank in advance.

Here is a old script that should get you going. I did this some time back when on Panther there are better methods for finding the number of pages in PDF in Tiger I just have not had the time to bring this up to date.
set TodaysDate to do shell script "date \"+%d-%m-%y\""
-- Create new folder to save to
tell application "Finder"
set RasterImages to make new folder at desktop with properties ¬
{name:"Rasterized PDF's " & TodaysDate}
end tell
-- Check for application processes else launch
tell application "System Events"
if not (exists process "Acrobat") then
launch application "Adobe Acrobat 7.0 Professional"
end if
if not (exists process "Adobe Photoshop CS2") then
launch application "Adobe Photoshop CS2"
end if
end tell
-- Set Photoshop settings
tell application "Adobe Photoshop CS2"
set display dialogs to never
set UserPrefs to properties of settings
set ruler units of settings to pixel units
-- set background color to {class:CMYK color, cyan:0, magenta:0, yellow:0, black:0}
-- set foreground color to {class:CMYK color, cyan:0, magenta:0, yellow:0, black:100}
end tell
-- Get list of PDF's
set Q1 to "Do you want to include all the subfolders" & return & "within your folder selection?"
set theDialog to display dialog Q1 buttons {"No", "Yes"} default button 1 with icon note
if button returned of theDialog is "Yes" then
set inputFolder to choose folder with prompt "Where is the top level folder of PFD's?" without invisibles
tell application "Finder"
set filesList to (files of entire contents of inputFolder whose name extension is "pdf")
end tell
else
tell application "Finder"
set inputFolder to choose folder with prompt "Where is the folder of PFD's?" without invisibles
set filesList to (files of inputFolder whose name extension is "pdf")
end tell
end if
set countA to count of filesList
if countA = 0 then
display dialog "This folder contains no PDF files to rasterize!" giving up after 2
end if
-- Loop through the files in list
repeat with aFile in filesList
tell application "Finder"
set theFile to aFile as alias
end tell
-- Open in Acrobat to count the pages
tell application "Adobe Acrobat 7.0 Professional"
-- activate
open theFile with invisible
tell document 1
set PageCount to count of pages
end tell
close document 1 saving no
end tell
-- Loop Photoshop through the page count
repeat with i from 1 to PageCount
tell application "Adobe Photoshop CS2"
activate
open theFile as PDF with options ¬
{class:PDF open options, bits per channel:eight, constrain proportions:true, crop page:trim box, mode:CMYK, page:i, resolution:300, suppress warnings:true, use antialias:true, use page number:true}
set docRef to the current document
tell docRef
flatten
-- New file naming options
set docName to name of docRef
set ASTID to AppleScript's text item delimiters
set AppleScript's text item delimiters to " "
set docName to text items of docName
set AppleScript's text item delimiters to "_"
set docName to docName as string
set AppleScript's text item delimiters to "-"
set docName to text item 1 of docName
set AppleScript's text item delimiters to ASTID
if PageCount = 1 then
set newFileName to (RasterImages as string) & docName & ".tif"
else
set fileNum to ""
repeat until (length of (fileNum as text)) = (length of (PageCount as text))
if fileNum = "" then
set fileNum to i
else
set fileNum to "0" & fileNum
end if
end repeat
set newFileName to (RasterImages as string) & docName & "_" & fileNum & ".tif"
end if
end tell
save docRef in file newFileName as TIFF with options {byte order:Mac OS, embed color profile:true, image compression:LZW, save alpha channels:false, save layers:false}
close current document without saving
end tell
end repeat
end repeat
-- Set ruler units back to user prefs
tell application "Adobe Photoshop CS2"
set ruler units of settings to ruler units of UserPrefs
end tell

Similar Messages

  • E book" it tells me that the bI have prepared a photobook, made a pdf and when I press "buy the book is missing photos on one ore more pages. The book does not miss any photos or text, all layouts are ok, the background color is ok. Can anybody help me?

    I have prepared a photo book, made a pdf and when I press "buy thhe book" it tells me that the book is missing photos on one ore more pages. The book does not miss any photos or text, all layouts are ok, the background color is ok. Can anybody help me?

    You are missing one or more photos - youprobably have a page background that requires a photo which is behind a page with photos on it - all pages must either have a photo or be a color - if you have a gray background it requires a photo - look through the book carefully and be sure to look at the background on any full page photos - you will find one or more missing photos
    LN

  • When I try to delete page(s) from a PDF document I created, I geth the following message: "One or more pages are in use and could not be deleted." Any suggestions?

    When I try to delete page(s) from a PDF document I created, I geth the following message: "One or more pages are in use and could not be deleted." Any suggestions?

    I sent an email to TerraGo Support and they sent the following response: "This has bug has been discovered and our development team is quickly creating a patch to resolve the problem. The patch should be available within a week or two. For your reference, the bug number assigned to this case is: 3620. Check back in about two weeks and hopefully the patch will be available. Again, I apologize for the inconvenience."

  • How to scan more pages into one PDF file using hP inkjet 2515

    Dear friend 
    How to scan more pages into one PDF file using hP inkjet 2515 

    Dear friend 
    How to scan more pages into one PDF file using hP inkjet 2515 

  • "One or more pages are in use and could not be deleted" - AGAIN.

    Open a PDF file.
    Save it under a different name
    Try to delete a page
    You'll get this error:
    "One or more pages are in use and could not be deleted"
    I've had this billions of times now and the only solution that works 100% of the time is closing and re-opening the file. This leads me to believe it's something with "locking" the file while saving, but not unlocking it after done saving.
    GET THIS FIXED PLEASE because it's annoying LOADS and LOADS of people.
    As evident by the 7000+ search results for the exact phrase "One or more pages are in use and could not be deleted".
    And that's just the part of the userbase that actually reports the problem.
    There are several topics about this issue, some marked as "solved" erroneously.
    Note, I'm a paying customer, use Photoshop/Illustrator/Dreamweaver/Fireworks and Bridge during my daily work, and have had this issue for months and months across several different computers (two different workplaces, and at home) and have ran into this time and again, when all I want to do is cut a PDF into several smaller PDFs.
    Closing and re-opening your program because you're unable to fix this issue is NOT ACCEPTABLE. It's THE WORST kind of user experience, as this issue is the ONLY reason I use Acrobat at all, and it can't even do that.
    Cheers,
    - Dirk
    Ps.: Sorry, I'm very frustrated running into this time and again, and then having to wade through thick mud (your site is a UX nightmare) to report this issue, which has been report oodles of times on this board before.

    Yup.  I get this problem too.  And I'm posting in April of 2015, so I see this problem has existed a long time.  Acrobat "Pro" (ha ha) is full of stupid, annoying problems.  And the interface is clunky.  I'm going use PDF Split and Merge to remove the page I'm struggling with.  Ridiculous that Adobe Acrobat Pro cannot remove one page from a PDF file.  I am NEVER upgrading this product.  I am done with Adobe.

  • How do I convert a .pub file into a PDF, 2 page spread without the dotted line down the center?  I can select 2 page view and cover page in 2 page view, but the dotted line shows up.  Thank you!!

    How do I convert a .pub file into a PDF, 2 page spread without the dotted line down the center?  I can select 2 page view and cover page in 2 page view, but the dotted line shows up.  Thank you!!

    Hi skt102711,
    I would like to inform you that acrobat doesn't support .epub to .pdf format conversion. Please browse this Link for more information : Supported file formats | Acrobat, Reader
    Regards,
    Rahul

  • How to print PDF few pages duplex but not all from one PDF Doc?

    Hi,
    We have a desktop application that we use and it gives instructions to printer which document to duplex and which to not. For easy understanding, in a PDF if there are 10 pages, i want to take first two pages whenever they are  printed they go  on duplex rest of 8 pages should print without duplex. I have a PDF of these 10 pages document and want to send via email to one, so that if he has duplex printer, he just send that PDF doc to printer and it automatically send first two pages duplexed then rest of 8 pages per paper. So finally he get 9 printed hard copies. My question is, is there any capability in PDF document we can apply per page that when go on printer it instructs to printer to duplex me or not. Like we have PDF properties associated with doc. Can we setup such property for each page? I know this is not a good question, but our business requies to send PDF to customers and we do save this to do ourself, How customer know which page to duplex then?
    If there is any automated solution we can give to customers? The PDF each page take decision by its own when going on printer it says i have to go on back of the paper and the other  says i won't have to be duplexed?
    Shamshad Ali
    [email protected]

    I see you are using Dietmar Aust's JasperReportsIntegration kit. Check out following tutorials on how to call your report from APEX:
    http://www.opal-consulting.de/downloads/free_tools/JasperReportsIntegration/Opal-Consulting-JasperReportsIntegration.pdf (page 32 - 33)
    https://www.opal-consulting.de/apex/f?p=20090928:9:::NO:9::
    These sources should be sufficient to successfully call reports from an APEX application.
    Feel free to ask more information in case you're experiencing difficulties...

  • PDF text pages in iPhoto books

    I'm not sure that this is a problem. I just want reassurance before I click the ORDER BOOK button and buy the iPhoto book I have created.
    I have imported PDF pages of text into the book, as I was able to get more control over the text layout that way. However, when I proof a PDF-text page, it looks more blurry and pixellated than standard, typed-on-the-page text, as if the resolution is not quite so high. It is perfectly legible, just a shade less sharp.
    Is this likely to be a resolution matter with my printer, or will the text be marginally more blurry in the printed book's PDF pages, too? If blurry is the answer, is there anything I can do before ordering the book to get the text looking just as sharp on the PDF pages as on the non-PDF, direct-to-page, text?
    Many thanks in advance.

    In PS under Edit->Color Settings Working Spaces set Grayscale to Dot Gain 20% and set the RGB menu to sRGB IEC61966-2.1. This is for future uses.
    Now open each file in PS CS2 from withing iPhoto, go to the Image->Mode menu and select RGB. Save the changes, Command+S, and that's it. The photo will then appear normally in iPhoto.
    Here's how to use Photoshop from within iPhoto:
    Using Photoshop (or Photoshop Elements) as Your Editor of Choice in iPhoto.
    1 - select Photoshop as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    NOTE: With Photoshop Elements 6 the Saving File preferences should be configured: "On First Save: Save Over Current File". Also I suggest the Maximize PSD File Compatabilty be set to Always.
    If you want to use both iPhoto's editing mode and PS without having to go back and forth to the Preference pane, once you've selected PS as your editor of choice, reset the Preferences back to "Open in main window". That will let you either edit in iPhoto (double click on the thumbnail) or in PS (Control-click on the thumbnail and seledt "Edit in external editor" in the Contextual menu). This way you get the best of both worlds
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    If you ever do any scanning of B/W photos always scan as color.
    OT
    Message was edited by: Old Toad

  • How to save book in pdf tiff 300 dpi? with these steps file -print book- PDF- save PDF to folder as TIFF 300 dpi does not work

    how to save book in pdf tiff 300 dpi?
    with these steps file -print book- PDF- save PDF to folder as TIFF 300 dpi does not work

    Hi pissedadobeuser,
    Does this issue occur with any particular web page?
    Are you able to print the webpage to 'Adobe PDF' to convert it to pdf.
    Which Browser version, OS version and Acrobat version are you using?
    Regards,
    Rave

  • Any way to convert PDF document in to Tiff format with inbuilt IBR features

    Is there any way to convert PDF document in to Tiff format with inbuilt IBR features?
    In our Webcenter Portal app, we create the PDF document with the content of ADF pages and check it in UCM using RIDC api.
    There will some batch job which will retrieve the documents from UCM and send them to client internal Document management system. The client / batch job will only process TIFF files. So we need a way to convert the PDF into TIFF. We are okie to have both PDF and TIFF stored in UCM.
    When i have done research, i could only see components like PDFexport or TIFFConverter which only converts the other formats into PDF. But i am expecting a reverse conversion. Is it possible ? Thanks

    949767 wrote:
    Is there any way to convert PDF document in to Tiff format with inbuilt IBR features?
    In our Webcenter Portal app, we create the PDF document with the content of ADF pages and check it in UCM using RIDC api.
    There will some batch job which will retrieve the documents from UCM and send them to client internal Document management system. The client / batch job will only process TIFF files. So we need a way to convert the PDF into TIFF. We are okie to have both PDF and TIFF stored in UCM.
    When i have done research, i could only see components like PDFexport or TIFFConverter which only converts the other formats into PDF. But i am expecting a reverse conversion. Is it possible ? ThanksYa actually I got a tool that could [convert pdf | http://www.allbestapp.com/products/pdf-converter.html] to other formats, including jpg and tiff. that may fit your need.
    You could take a shot through the link above.
    Edited by: user13548958 on 2012-8-23 上午10:49
    Edited by: user13548958 on 2012-8-23 上午10:52

  • Can only see the first page of TIFF attachment.

    can anyone tell me how i can see all pages of tiff attachment in Mail or Safari. I can view the first page only. This will not happen on PDF or Words attachment.

    can anyone help me

  • How do I add more pages in one document?

    Hi everyone.
    In the past I've downloaded a PDF file containing several pages of sheet music.
    How do I produce a PDF file with several pages in it?
    I'm only able to convert a BMP file to a PDF file with just one page. How do I include more than one page in my own PDF file?
    Regards,
    Richard Steed

    Hi Richard,
    Thanks for posting. Unfortunately, I'm not entirely sure I know what you mean when you say that you'd like to "add more pages" - when you're converting a file to PDF, the resulting file (.pdf) will have the same number of pages as the original file (in this case, .bmp). If you're starting with a one-page .bmp, you'll end up with a one-page .pdf after conversion.
    I hope I'm understanding you correctly. Please reply and let me know if you need more information; the more details you can give me about what you're trying to accomplish, the easier it will be for me to help you figure it out!
    Thanks, Richard. Keep me posted.
    Rebecca

  • How can I create an accessible PDF using Pages?

    I am interested in being able to use Pages (and actually also Keynote) to produce accessible PDF documents, ideally following the PDF/UA standard.
    Government agencies require that electronic is created and shared in an accessible fashion.
    I know it is possible to create accessible PDF (or well-tagged PDF) in Microsoft Word - but only on Windows unfortunately. I could also use OpenOffice, but to be honestly I find Pages is the more productive tool for me.
    Any pointers as to whether and how to create accessible PDF from Pages would be more than welcome....
    Olaf

    Hi there, I suppose I didn't make myself very clear. I am working for a regional organization for persons with disabilities and we create publications that are accessible to various kinds of disability, i.e. deaf, blind, etc. We convert ordinary reports to accessible text for the benefit of the blind. There are programs/apps that provide sound/voices that will 'read' the text. Acrobat PDF has such a feature called 'Readable PDF', which if composed properly via tagging, etc, will be converted and saved as 'readable PDF'. You can do this using In-Design. But I am also looking at the possibilities for Pages (I like this program a lot because it's easy) but I am not sure if there are tagging features here that will allow be to prepare the report as a 'Readable PDF' file. Thanks!

  • Adda more pages to an Interactive Form and the binary context

    Hi to all,
    my scenario is: I have a java webdynpro with a view with an interactive form of 2 pages. I inserted a button on the pdf which duplicates the second page (using java script). Then there is the "submit to SAP" button which transfers the content of the binary context (I bound it to the pdfSource attribute of the interactive form) to an R/3 system. The fact is that when then I read the "binary" file from R/3, I find only the 2 pages and not the pages I added with my button.
    How can I do? It's important for me the possibility of having more second pages.
    Sorry for my english,
    Thanks in advance
    Enrico

    Hi Enrico,
    If I understand correctly, you are calling the addInstance() on click of the button that you placed in your form and when you add more pages using this button and save the fikle and open it again, the newly added instances are not displayed in the form. Am I right?
    If this is the scenario, the you need to store the value of the forms created using this button and call the same addInstance() method in the initialize event of your form. I.e place the same code that is there in click event of the button inside the Initialize event of the form with the number that we have saved in some hidden field.
    Hope this resolves your issue.
    Cheers,
    Arafat

  • Error "problem loading more pages"

    Using XP SP3, IE 8 and Acrobat Reader X, I have been trying to look at a document identified by a website as .pdf.
    I see what appears to be the first page of that document - ie it makes perfect sense in the context of the website - but at the foot of the first page a message appears reading:
    "Whoops! There is a problem loading more pages. Retrying..."
    and nothing more happens.
    On another PC, using XP SP3, IE 7, and Acrobat Reader XI, I cannot even get that first page up - after clicking on the link to the document, nothing happens,
    Can anyone guess whether this is a problem with Acrobat Reader or IE? and if so, what might be done to fix it?

    Your link is on Google Docs, which uses its own PDF viewer.  I can see all pages with no problems.
    If you use the download button on top of the page, you can download a perfect PDF to your local disk.
    If that Wordpress page is yours, I would suggest that you upload the PDF to somewhere where it can be viewed with the browser's PDF plugin, not with the Google Docs PDF viewer.

Maybe you are looking for