Get numPages from a closed pdf???

Hi All,
I am already using app.broweForDoc to select a source file for a script. Is there any way for me to get the number of pages in the source file that remains closed?
I need this to verify that the source doc and the open doc have the same number of pages. I intend to put a catch in if this.numPages does not equal the numPages of the source doc.
As always, I appreciate any help
var oRtn = app.browseForDoc();
strPath = oRtn.cPath;
var numpages = this.numPages;
for (var i=0; i < numpages; i++)
this.addWatermarkFromFile({
cDIPath:strPath,
nSourcePage: i,
nStart:i,
nHorizAlign: app.constants.align.left,
nVertAlign: app.constants.align.top,
nHorizValue: 144, nVertValue: -37,})

Thanks Try,
Thats what I have been doing, but wanted to know if there was a better way. As always, you are a valuable resource.

Similar Messages

  • Hyperlinks from other placed indd documents or pdfs getting lost after export to PDF

    after upgrade vom CS 5.5 to CS 6: hyperlinks from other placed indd documents or pdfs getting lost after export to PDF
    I tried all options for the as well known and working export options

    after upgrade vom CS 5.5 to CS 6: hyperlinks from other placed indd documents or pdfs getting lost after export to PDF
    I tried all options for the as well known and working export options

  • After 9.3 update getting error printing to Adobe PDF while converting from Powerpoint to PDF

    That happened after upgrading Acrobat Pro 9.1.2 to 9.2->9.3 on Windows XP sp2 platform. Converting from other Microsoft Office 2003 products is totally normal(Excel, Word) Did anyone came accross and know how to fix that?? We have many users with exactly same issue.

    thanks...figured out my problem!
    Date: Wed, 3 Feb 2010 12:24:29 -0700
    From: [email protected]
    To: [email protected]
    Subject: Re: After 9.3 update getting error printing to Adobe PDF while converting from Powerpoint to PDF
    What happens if you try to print to the Adobe PDF printer?
    >

  • How to get data from PDF form?

    PDF forms can send data in url like GET or POST method. Is it possible to get data from url, like in PHP http://sever/file.php?item1=value1&item2=value2&item3=value3
    In APEX url have specific construction and I don't know how to get value of items (1...3)
    Please let me help to find simple method of geting data from URL.
    Best Regards,
    Mark

    The APEX URL syntax is detailed here
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#BCEDJBEH
    How to get it from PDF is another matter...
    I'm working on an app that downloads PDFs with a Large amount of data as a blob, takes that blob and changes it to XML, then goes through the xml to validate each section of data and then add it into the schema that my apex app is referencing....
    I didn't write the original code but I do know that it isn't a quick thing to implement and includes using some uploading some java jar files to your schema and writing some custom java code.
    Someone else may be able to help with grabbing PDF data into the URL for the amounts of data you want to pass to apex.
    Gus..
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!
    Edited by: Gussay on Sep 21, 2009 5:52 PM

  • Missing ADOBE ICONSHow can i get the icon of the pdf back ; its is missing from the desk adobe

    How can i get the icon of the pdf back ; its is missing from the desk adobe

    Often when people think they've deleted an application, what's really happened is that they deleted its icon from the Dock. In the Finder, select
    Go ▹ Applications
    from the menu bar, or press the key combination shift-command-A to open the Applications folder. If the application is in that folder, drag it to the Dock (not to the Desktop or anywhere else.) The other Dock icons will move out of the way to make a place for it.

  • It is possible to get info from the PDF

    Hi Everyone,
    I'm new baby to acrobat using javascript. It is possible to get info from the PDF.
    The Info contain like Color space, Trim size, which font  used depend on pages and which color is used for image & text.
    Thanks in advance.
    -yajiv

    Hi GKaiseril,
    Thanks for prompt response.
    Actually I'm a new baby to Acrobat script. Please explain briefly How do I write java script and execute.
    I'm familiar with Photoshop and Indesign Script. We are using ExtendedScript Toolkit editor for writing script.
    Thanks in advance.
    -yajiv

  • How to Get XML from the PDF form generated using Designer that is stored in LC

    We have a Requirement of Generating reports on what a PDF form is comprised of? It is easy for us to scan / parse the XML format of the PDF form and get all the relavent Info we need. We are able to see the XML format of the PDF form when we open up the Form in Designer.
    But we are trying to run this report in a Batch Mode for many PDF files. I need to know how to get a XML format of the PDF file that is stored in LC that was developed using Designer. Once we are able to get the XML of the PDF form it is just a scan / parse to get the relavent data.
    Can some one tell me how to get the XML format of a PDF file stored in the LC?

    If I place the PDF form on the LC server - Can you let  me know of the tools you are referring to get XML design from the PDF form?
    Is it through a Process Orchestration I need to run the PDF through to get a XML design out of it?
    I am fine in storing the PDF in the LC server? How will I get the XML design (XML) from this PDF on the server?

  • Installed Acrobat XI but getting message from a website that I need later version of PDF viewer to view full contents of document?

    Installed Acrobat XI but getting message from a website that I need "a later version of PDF viewer to view full contents of this document".  How to fix this?

    THe message is misleading. Save the file to your desktop, even though all you see is the message. Then, open the saved file in Reader.

  • Just installed Outlook 365. Now getting an error message downloading pdf's from outlook re: licensing on my acrobat 9 standard

    Just installed Outlook 365. Now getting an error message downloading pdf's from outlook re: licensing on my acrobat 9 standard. 148:3

    OFFICE 365 is a cloud version of OFFICE 2013. Full compatibility with Acrobat requires an updated Acrobat XI. You will likely have to store the file and then open in AA 9. To create a PDF you will have to print to the Adobe PDF printer or use the MS plugin that has several issues.

  • When i convert to pdf from word some of the letters are getting cut from the bottom

    When i convert to pdf from word some of the letters are getting cut from the bottom. the letters appear perfect in word but in pdf these are getting cut from the bottom. when i increase teh spacing between lines then they are ok, but as need it for a book wherein I can't increase the space between lines.

    Hi Nakul ,
    Could you please explain me the work flow ?How are you trying to convert the PDF?
    Is it happening with all the PDF' or any specific one ?
    What exact version of Acrobat are you using?
    Did you try repair your Acrobat ?If not please try repairing it and see if that works for you .
    You might also try to check the update for your version of Acrobat .
    Also ,you can go to preferences and under documents see if the first option .i.e Restore last view settings when Reopening documents is check marked or not .
    Please try the above mentioned steps and see if that fixes the issue.
    Regards
    Sukrit Dhingra

  • Read and Get Data from PDF

    Hi All,
    I am fairly new to programming macros in Excel VBA, and right now I need to write a macro that can open a PDF file and read it and get data from there and paste it into an excel spread sheet. Is this possible?  If so can you give me some sample code
    that would do that?

    I did this once many years ago.  I had to have Acrobat Professional installed ($$$).  There are free pdf parsers that you access from VBA using Win32 commands like:
    https://code.google.com/p/peepdf/
    Maybe something has changed since I did it

  • Wife is getting old and keeps closing my google phone window is there a way to stop it from being closed or going to another site?

    Wife is getting old and keeps closing my google phone window is there a way to stop it from being closed or going to another site? The window needs to be left open so we can receive phone calls.

    You can use an extension to lock specific tabs.
    *Tabberwocky: https://addons.mozilla.org/firefox/addon/tabberwocky/
    *Tab Mix Plus: https://addons.mozilla.org/firefox/addon/tab-mix-plus/

  • Getting data from LC PDF vs. getting data from LC HTML

    I've been rendering PDFs from LiveCycle and having the saved form data returned to my web server (not the LC server) as XML data. This has been working fine for a while. Recently I've started converting my PDFs to XDPs and rendering the XDPs as HTML. Now when the user clicks the "Save" button, instead of xml data I get a bunch of POST data. One of the fields is called "FSAPPLICATIONDATA_". Once I base 64 decode and gunzip this field, I get the XML data. Unlike the XML data that I get from a LC PDF, this XML doesn't have the field data that the user entered in it. The POST data contains the user-entered data in separate fields. What I really need, however, is what I was getting from the LC PDFs: the complete XML with the newly-entered form data in it.
    Any idea how I can get this? Do I need to submit the HTML form to LC and have it give me the complete XML or something?
    - Nathan Dawson

    Hi all,
    I made it work having in the wd context the same number of elements as the table rows in the form. That way the rows are read correctly.

  • How did my pdf files get converted from 'open with Adobe Reader' to open with Adobe Acobat'?  And if I have a ''free'' Acrobat account why does it not open?  When I do click on the account it ask me to pay $89.99.  I never wanted Acrobat.  How can I get -

    How did my stored files get converted from 'open with Adobe READER' to 'open with Adobe ACROBAT'? How can I get them re-set to open with 'Adobe Reader'?
    Please reply to my e-mail:   [email protected]

    It sounds as if you downloaded Adobe Acrobat Pro. If you did, uninstall it. Then repair Adobe Reader.
    The free Acrobat account has no connection to any of this.

  • How do I get a refund on Export PDF that has ALREADY been agreed

    On 1/21-1/22 I tried to 'renew' a subscription for Export PDF. By some error (maybe mine - I just dont understand the whole thing) my Bank was immediately charged for two subscriptions, each at a different price. I immediately "chat"ted with several  reps (it was difficult to get onto the chat and find out how to cancel) and was assured that both would be cancelled and refunded. They weren't!
    I waited a week. Was again frustrated by the chat hookup, and tried the 'cloud' retail product tel #, assuming it was wrong but that I could be switched to the correct one. Had a very pleasant chat, was assured that both would be cancelled and refunded, received 2 e-mails confirming the cancellations, each with a seperate "Case #". Felt pretty good! It had only taken me a week of reasonably diligent effort to get a very simple thing done! IT WASN"T DONE! (Yes, I apologize - I know I'm loud - but by now I've got steam coming out of my ears!)
    Today I got an e-mail, telling me that the refund had been processed and the case # would be closed. I looked at my bank, and only one had been refunded! I reviewed all the other e-mails and the notes from the telephone calls and chats to be sure I hadn't misunderstood something. But, no I hadn't. I went to my Adobe on-line and looked up 'my orders' history. Sure enough one had been invoiced and refunded ( the lesser charge of the two) but the other had ONLY BEEN INVOICED - NOT CANCELLED. And it seems that every piece of this transaction generates a new "order" , "case" or some other "reference #" - none of which are tied together, except by the invoice amount, when it is mentioned - which it typically IS NOT.
    My question, then, is : How can I get past this absolute frustration over every aspect of my interaction with Adobe and GET THIS TAKEN CARE OF?????????

    Hi Stacy,
        What frustration? (Just kidding !)
        As I mentioned, one of the two charges has been  refunded. Credited by
    Adobe on Jan 28, I believe I received it in my bank on Jan  30.
        The other charge, $25.37 of order # AD011017507,  has not been received
    by my bank yet. But this can't be that much of a surprise,  and has nothing
    to do with "10 business days" for refunds to post.
        To this minute, "My Orders" on Adobe website shows  that the order #
    AD011017507  was invoiced on January 22, but that no  credit invoice has been
    posted against this order to this moment!
        Can you begin to understand the frustration of  being unable, through
    all attempts to untangle this mess, starting within  one hour of the original
    order, with I believe nine different "Chats",  telephone calls and, finally
    a "problem" posting,  stretching over more  than thirteen days. Of course
    it doesn't make much sense to devote this much  attention to less than $50
    worth of stuff, but I do not let things like this  dangle.
        And can you imagine how loathe I am to deal with  Adobe for fear of
    some real problem?
        At any rate, I would certainly be pleased if you  can suggest a way for
    me to extricate myself from this. Any help would be  GREATLY appreciated!
        Thanks for your time and any trouble,
        Stephen Ellis
        <removed by admin>
    In a message dated 2/3/2014 4:08:59 P.M. Eastern Standard Time, 
    [email protected] writes:
    Re:  How do I get a refund on Export PDF that has ALREADY been agreed 
    created by StacySison (http://forums.adobe.com/people/StacySison)  in 
    Adobe ExportPDF - View the full  discussion
    (http://forums.adobe.com/message/6082008#6082008)

Maybe you are looking for

  • How do I install base system on external drive to boot MacBook Pro?

    I have a MacBook Pro 2.2 core 2 duo. I use an external HD for storage. Want to make external drive bootable (i.e. to run apps like DiskWarrior on MacBookPro). How do I install the base system? Thank you.

  • Mapping issue for condition must be  satisfied

    Hi All,          I am using IDOC ORDERS05 for my interface IDOC to FILE, in which i have partner fuction as PARVW , in which i have to AG and LF i must must pouplate data if the from the IDOC PARTN if the  PARVW is AG to the VENDORCODE in my target i

  • How to deal with OS threads????

    hi guys, i wonna to code simple application that could view the threads of the system and control them by block or start another thread after finish, how to code this??? thx,

  • Question about Quality Gate Management

    Hi Solman profis, I have questions about the transport requests in QGM. My Solution Manager is 7.1. I have a Solman project, in which I activated QGM and created a Change and created two transport requests (one workbench, one customizing) attached to

  • How can I improve below SQL performance.

    Hi, How can I improve below SQL performance. This SQL consumes CPU and occures wait events. It is running every 10 seconds. When I look at the session information from Enterprise Manager I can see that "Histogram for Wait Event: PX Deq Credit: send b