Close both the PDF and Acrobat Reader from Javascript

Hello,
I'm working on a C++ project which at some point open a PDF (using the ShellExecute function).
I coded some javascript in this PDF with Life Cycle Designer to print its content and finally close it automatically using event.target.closeDoc().
The problem is that just the PDF is closed but not Acrobat Reader.
I need Reader to be also terminated, to catch the end of process signal in my C++ program and to continu the execution.
Do have any idea if there is a javascript function to close Reader?
Thank you very much!

Hi John,
After a lot of research and tests, I didn't find the solution. You can't close Acrobat Reader from a pdf. (for security reasons; It's like you are not allowed to closed a browser with a javascript function).
Finally we moved to the PDF library C++ SDK, so Reader is no more opening, but we had to pay for that...
Stephane

Similar Messages

  • Launch acrobat reader from javascript

    Hi Team,
    Greetings!
    Is it possible to launch Acrobat Reader from javascript?
    Thank you.

    hi, you can try to launch the pdf file in your server in other navigator window with Applet.getAppletContext.showDocument,
    if the client have acrobat, the pdf file open in navigator window
    take a look my linkOnApplet sample, but change myUrl for a url with a pdf file, like's this "http://mysite/file.pdf"
    i hope it help you.
    sorry but my site is in spanish.
    http://www.sunflowermachine.com/recusos/java/linkOnApplet.html

  • Enabling Comments for PDF and Acrobat Reader

    Hello,
    We work with remote reviewers and oftentimes we have to enable our PDFs for commenting, since they only have Acrobat Reader. We then get the files back from our remote reviewers, review their suggestions, and then send them the PDFs back. The only main issue is that we HAVE to enable the PDFs for commenting EVERY time. Is there a better way?
    Thanks,
    Dave O

    Online Reviews...Mike

  • FF 19 for Mac. changed preferences to open PDFs with Acrobat Reader. Now when I click on a pdf link, an about:blank FF window opens (pdf then opens)

    The change in preferences opens the pdf appropriately with Acrobat Reader, as desired, but before it does, FF opens a brand new blank window (about:blank). How can that action be stopped?

    Yes, I mean the eternal application.
    Ctrl-click does open the dialog, but that does not cause new/blank FF window to show up.....however shift-click opens the new/blank window, then opens another FF window with a "New Tab" heading, then opens the pdf with Acrobat Reader.....
    If open the dialog and select "open in new tab" (open in Acrobat Reader is not an option), a new tab is opened, and the the pdf come up in Reader (without opening a new FF window). In earlier FF, it just opened directly in Reader (or acrobat) without opening a new tab or window.
    Thanks

  • Limiting shown buttons when opening 3D PDF in acrobat reader

    Hi guys.
    I want to create a 3D PDF to be viewed on the web. I don't think that all buttons(rotate, spin, pan, zoom, etc.) in the 3D toolbar are necessary so I would like to choose which buttons will be shown when the user click where it says
    "Click to Activate 3D"
    Is there a way t do this? If so, is there a way to lock those so the user cannot activate them?
    Thank you.

    Hello,
    There is an option to manage display of the 3D toolbar whichi only available at the creation of the 3D PDF file (within Acrobat Pro Extended only..):
    Go to Edit/Preferences
    Select a 3D format then press Edit Settings
    Under 3D Panel there is a check box called "Show 3D toolbar by Default" Unselect this option then press OK.
    Convert a 3d file to PDFthen save the file
    Open the PDF within Acrobat Reader or Acrobat Pro Extended, the 3D toolbar will not be displayed after activating the 3D content..
    Hope this can be helpful
    Best Regards
    William Gallego
    A3D QE Team

  • How to open pdf in Acrobat Reader in Firefox window/Tab when both Acrobat Pro and Acrobat REader are

    I would like to open pdf files in firefox using Adobe Acrobat Reader.
    I have both Acrobat Pro or whatever its called and Acrobat Reader installed.
    Presently going to firefox's tools, options, then selecting the file types option I cannot select any plugin to open my pdf's besides what's labeled as "adobe acrobat" but which executes an in-tab instance of Adobe Acrobat Pro, despite the ambiguous language on the plugin which I suspect stems from Adobe's evolving and confusing conventions regarding just what Adobe Reader, Adobe Acrobat, Adobe Acrobat Reader, and Adobe Acrobat Pro really is.
    Anyways, how to make pdfs open in-tab instances of Adobe Acrobat Reader while I have both the Reader and the Pro installed?
    Is there a sepperate plugin I need or something?
    Any help is very Appreciated

    eh,
    The problem w/ acrobat is that it takes forever to load
    I was going to just use reader to read documents, and acrobat to edit, so I could gut reader of all the plugins worthless for 99.9999 of pdfs I use and it'll load fast.
    foxit is nice, but won't open in-browser despite their continuing claims of supporting this feature.
    That's so bizarre that adobe won't allow you to choose which one you want to run. Its installed as sepperate programs on the uninstall list, on the "open with" context menu, and w/ file associations, so why would it not be possible to only open pdf links w/ one?
    Maybe its time to abandon acrobat and just use reader. There's much cheaper programs w/ all the same functionality as acrobat, so I guess I'll move on to those.
    If anyone else has suggestions feel free to make em.

  • I am trying to drag and drop one page of a .pdf into another .pdf in Acrobat Reader.  I used to be able to drag and drop from one .pdf to another.

    I am trying to drag and drop one page of a .pdf into another .pdf in Acrobat Reader.  I used to be able to drag and drop from one .pdf to another.

    If you could drag and drop pages before, it wasn't in Reader. You no doubt had Adobe Acrobat (Pro or Standard) which shouldn't be confused with Adobe Acrobat Reader. They recently added Acrobat to the name of Adobe Reader so the confusion about which product you had and/or have is understandable.

  • I use Acrobat to convert firefox pages to pdf and with firefox4 I need to be able to copy and pasted text from the pdf and no longer can.

    With the prior version of Firefox I could convert web pages (financial data) to pdf for maintaining historical files. And then with the pdf, I was able to copy and paste the numbers into Excel. With Firefox4, I can convert to pdf with Acrobat but I cannot access the numbers for copying and pasting as text, only as a picture. While I prefer Firefox, I check to see if this problem recently started with the "other" company's web browser and did not have this problem. So, it is not Acrobat.

    HI djlarp,
    Try triple-clicking in the text that you want to select--it can sometimes be tricky to select text in a converted document. If that doesn't work, it could be that the PDF document was created from a scanned document, and OCR wasn't enabled when you converted the document. (However, OCR is enabled by default when you convert via the ExportPDF website.)
    If you're unable to select text by triple-clicking, let us know. I would be happy to take a closer look at your files.
    Best,
    Sara

  • Why having displayed both generic icons for the PDF and JPEG files and automatic preview of the JPEG files in an ordinary folder are mutually exclusive in Win7?

    In Win7 Pro all my:
    PDF documents, with the 'Large Icons' option chosen in the View tab, display contents of their first page with a tiny thumbnail in the icon's lower right corner, instead of a generic PDF icon.
    JPEG files show Icon size photos, instead of a generic Nero 9 PhotoSnap Essentials icon.
    Folders containing the JPEG photos, however, automatically show preview, when opened, which is desirable feature.
    I found that the Win7 option "Always show icons never thumbnails" in the View tab: Windows Explorer -> Tools -> Folder Options, (where ironically the present 'thumbnails' have nothing to do with 'Thumbnails' from the View option in WinXP), causes the unwanted effects described in points 1 & 2, when unchecked.
    Checking this option solves the problem of the PDF and Nero icons. This time, however, I can only see a Nero 9 PhotoSnap Essentials icons, instead of photos preview on opening of any standard folder with the JPEG photos.
    Did I make a mistake somewhere or maybe Microsoft made changes in Win7 with respect to WinXP, which make it impossible to have both the features working at the same time?

    Hi,
    You can install the Win 8.1 software drivers using this link.
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?cc=us&dlc=en&lc=en&product=4323648&task=&
    Once installed, it should have the same features as the Win 7 drivers for scanning.
    Please click the “Kudos Thumbs up” on the left if this has helped you and “Accept as solution” if this has helped solved your problem.

  • How put some PDFs in Acrobat Reader on iPad ? On the Adobe Cloud  ?

    How put some PDFs in Acrobat Reader on iPad ? On the Adobe Cloud  ?
    Thanks !!

    pierreswaggy,
    If you have a PDF document opened in some other app on your iPad/iPhone, you can use the "Open In" feature to open it in Adobe Reader for iOS.
    For iPad, see How to open PDF documents in Adobe Reader for iOS (iPad on iOS 7 or 8 version)
    For iPhone, see How to open PDF documents in Adobe Reader for iOS (iPhone on iOS 7 or 8 version)
    If you have PDF documents on your Mac or Windows desktop/notebook computer, you can use Acrobat.com (cloud storage) to share them with your computer(s) and mobile device(s).
    On your Mac/Windows computer
    Open a web browser.
    Go to Acrobat.com (https://cloud.acrobat.com).
    Sign in with your Adobe ID.
    Upload your files to Acrobat.com.
    You can also use the desktop version of Acrobat or Adobe Reader to open a PDF document from Acrobat.com or save to Acrobat.com.  Please check the File menu or the toolbar for the options.
    On your iPad/iPhone
    Launch Adobe Reader for iOS.
    Go to the Reader home screen.
    Tap My Account (in the lower left corner).
    Sign in with your Adobe ID.
    Tap Acrobat.com in the left pane to see the files on Acrobat.com in Reader.
    If you have a lot of large PDF documents on your computer, it would be easier and faster to transfer them to your iPad/iPhone at once (instead of one document at a time) using iTunes.
    See How to transfer PDF documents from your computer to your iPad/iPhone.
    The documents transferred to your iPad/iPhone using iTunes will appear in the Documents section.  Because they are stored locally on your iPad/iPhone.  Please note that any locally stored documents will be erased by iOS, if you uninstall (instead of update) the Reader app.
    Please let us know if you have additional questions or any problems.

  • Can you please put me in touch with the support  for the trial copy of adobe acrobat XI pro which I had tried out on March 15 for 30 days. I have  been trying to cancel since the cost is too much and Acrobat Reader is OK for me. I can't find uninstaller.

    Can you please put me in touch with the support  for the trial copy of adobe acrobat XI pro which I had tried out on March 15 for 30 days. I have  been trying to cancel since the cost is too much and Acrobat Reader is OK for me. I can't find uninstaller.
    I have had to erase my disk since then with trouble with Apple Store not recognising my machine and the reload from Time Machine has given complications . Can you please cancel my trial and return my Trial money.

    If you paid for what you used then it was not a trial.
    Look thru the following links and use the chat option if required for your situation:
    Cancel your membership or subscription | Creative Cloud
    https://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html
    https://forums.adobe.com/thread/1703848
    Chat support - For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Creative Cloud support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html ( http://adobe.ly/19llvMN )
    Phone support | Orders, returns exchanges
    http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • I just upgraded from i-tunes 10 to i-tunes version 11.1.3 in order to sync my i-phone.  All my libraries now come up now as one combined library, which makes it frustrating  and difficult to find my songs.  Can I have both the 10 and the new 11.1.3 on ?

    I had to upgrade  to i-tunes 11.1.3  from my old i-tunes 10  so that my i-phone could get synced to i-tunes. I used to have several i-tunes libraries on my computer for various subjects.  Like for movies, bird recordings, and  songs I wrote myself. Now when I open i-tunes all the libraries open up at once in one library, it is completely reorganized,  making it almost impossible to find my old songs, playlists, movies, etc.  I just got done organizing my libraries, and now its all confused and Im terribly frustrated. How can I get my old organization back, and is it possible to have several libraries again, or both the old and new i-tunes on the same hard drive? Anyone have any advice how to organize my new i-tunes ?

    What a waste of space to paste the code.
    Why not ask in the iLife > iPhoto forum where your question belongs.

  • I am trying to update ITunes from 10.4 to 10.5 I have tried from both the program, and from a download on Apple's website. Regardless, I get the following error messages: (1) Installation package for iTunes cannot be found. Try installing to find the inst

    I am trying to update ITunes from 10.4 to 10.5 I have tried from both the program, and from a download on Apple's website. Regardless, I get the following error messages: (1) Installation package for iTunes cannot be found. Try installing to find the installation package 'iTunes.msi' in a folder from which you can install iTunes.  I can't find this folder. I have tried to completely unistall iTunes through the Control Panel, but it wouldn't let me: I tried going directly to the files themselves, but cannot uninstall. Any help would be greatly appreciated. System OS: Win XP SP 3.

    Set the permissions for Everyone in the folder in which CCPackager created, to "Read/Write" enabled. This is strange since there is only an administrator account on the Mac (and that account already has read/write), but it seems to resolve the issue.

  • I am trying to print a PDF file to a legal size paper and I would like for it to fill up the page. How do I do this? I went into the settings and changed it from letter to legal, but it's still printing out the same size. Can someone help me, please?

    I am trying to print a PDF file to a legal size paper and I would like for it to fill up the page. How do I do this? I went into the settings and changed it from letter to legal, but it's still printing out the same size. Can someone help me, please?

    Are you trying to Print to PDF or are you trying to Print a PDF file to a physical printer?

  • Regarding passport registration issues, I need to have a letter from you including both the old and new imei numbers. Could you please send me an email mentioning that I have changed the phones with the given imei numbers?

    Regarding passport registration issues, I need to have a letter from you including both the old and new imei numbers. Could you please send me an email mentioning that I have changed the phones with the given imei numbers?

    You're not addressing Apple here. This is a user-to-user technical support forum. If you want to contact Apple, use the Contact Us link at the bottom right of every page for information on how to do so.
    Best of luck.

Maybe you are looking for