JS: How to close Adobe reader/Acrobat?

How to close a PDF file in Adobe reader/Acrobat using JS in Design?
Thanks in advance.

Here is an example:
#target indesign
var acroScript = 'var d = app.activeDocs;\r';
acroScript += 'for ( var i in d ) d[i].closeDoc( true );';
var bt = new BridgeTalk;
bt.target = "acrobat";
bt.body = acroScript;
bt.send();
It closes all open documents in Acrobat without saving. However it  works only on PC and only in certain versions of InDesign and Acrobat. (I tested it at work, in InDesign CS3 and Acrobat 8 Pro, on Windows XP)
But at home computer I have Acrobat X version 10.1.1 and bridgetalk doesn't "see" it.
Note that closeDoc method has an optional parameter -- bNoSave -- whether to close the document without saving. If false (the default), the user is prompted to save the document if it has been modified. If true, the document is closed without prompting the user and without saving, even if the document has been modified.
Hope this helps.
Kasyan

Similar Messages

  • How to open adobe reader file in adobe pro xl?

    how to open adobe reader file in adobe pro xl?Downloading, Installing, Setting Up

    Moving this discussion to the Acrobat Installation & Update Issues forum.

  • How to open Adobe Reader file from another native IOS application?

    There is an existing thread, but I want to re-open it because I think this is an important feature that we need badly.  I was wondering if there is any plan to add this feature so we can open PDFs directly into Adobe from the web / other apps.
    How to open Adobe Reader file from another native IOS application?
    Basically, we just want to use a custom URL scheme to open a specific document in the App.  Currently, this only opens the app but does not load the file.
    APB

    Not to hijack the conversation but I can explain why this would be useful for both the above case and another.
    What I believe Pavel is talking about is setting up a "URL Scheme" for the Adobe Acrobat iOS application so that you can easily open a PDF specifically in Adobe Acrobat iOS from other native applications and even from web applications opened within Safari. This is particularly useful if your application requires some of the specific features in Adobe Reader iOS to grant them the best experience possible and you want to encourage this.
    Another case: If you're using Adobe Livecycle's document security modules (that encrypts PDF files so that Adobe Acrobat must "phone home" to decrypt and view the document), these PDF's can only be viewed inside the Adobe Acrobat application and appear as blank in most other PDF readers. Having a URL scheme allows your application utilising this functionality to have a 1 click step to view the PDF rather than the current non-user friendly process:
    - Within Safari, touch the PDF link (appears as blank in the default Safari PDF reader, which in itself is confusing)
      - Touch "Open in..."
      - Touch "Adobe Acrobat"
    We have an immediate need for this functionality for the example above. I can resubmit it in a separate post if necessary.

  • How to Close Adobe Pdf Runtime

    Hi,
    I am using the Adobe PDF Runtime to Print the *10g Report* Directly to Printer.
    It's Is Working Fine. But After giving Print Option , The Adobe Runtime Still Running. Manually we need to Close that runtime window,
    then only the control come back to Forms.
    Can Any one tel me how to Close Adobe PDF Runtime window Automatically, When i give print report Directly to Printer.
    Regards,
    Gany
    Edited by: Gany - Ford on Sep 28, 2010 2:03 PM

    The easiest way is to set up syncing between your iPad and laptop with iTunes. You can read how on the Apple website in the iPad section, or you can answer a question on their forums: www.apple.com.
    It's a really good idea to set up iTunes syncing so you can back up all the files on your iPad!
    On a one-by-one basis you could email a PDF, or use Dropbox, but synching is much better.
    Good luck!

  • Is adobe reader, acrobat requires system reboot for installation and  upgradation

    is adobe reader, acrobat requires system reboot for installation and  upgradation?

    Hi Rave,
    Thanks for your reply.
    we have a vulnerabilities scan on adobe systems. it shows as below .
    Plugin Name
    Remarks
    Family
    current version
    Adobe Reader Unsupported Version Detection
    Upgrade to latest version(http://www.adobe.com/support/programs/policies/supported.html)
    Windows
    Adobe Reader 9.5.5 9.5.5
    please tell me how to fix it.
    thanks in advance .
    Regards,
    Harish

  • Adobe Reader/Acrobat Printing Issues - Weird Fonts / Characters - all versions

    Hi everybody.
    I'm experiencing a very nasty issue with both adobe reader (last version) and acrobat.
    When I print something with text, i get only strange characters, mostly symbols.
    I cannot get out of this, I tried everything.
    Already tried
    1) print as image does not works, it's the same
    2) the box in pdf printer " print only with fonts on pc" is checked
    3) reinstalled both adobe applications
    3) reinstalled printer drivers
    4) i've installed and reinstalled those so called missing fonts but nothing
    Next step is to change PDF reader. Any help?

    unfortunately it didn't work.
    It's weird how an application (company) like this could not provide those kind of such easy fixes. I'm not expecting updates or so, but at least a troubleshooting paragraph about this specific problem.
    This problem is well known, there are plenty of pages talking about it.
    I just installed Foxit reader and printed pages were perfect. This demonstrate's Adobe Reader/Acrobat fault.

  • HOW TO RUN ADOBE READER IN MACBOOK PRO

    HOW TO RUN ADOBE READER IN MACBOOK PRO

    Please stop using caps.  It is considered shouting and rude.
    You need to download the program. The reader runs when needed.
    Barry

  • HOW TO DELETE ADOBE READER FILE FROM ADOBE READER

    HOW TO DELETE ADOBE READER FILE FROM ADOBE READER@ !@

    Your question make no sense. What exactly are you trying to do?

  • How to install adobe reader on my Samsung Galaxy Tab 4.?

    I can't figure out how to install adobe reader on my Samsung Galaxy Tab 4.  Can anyone help? I want the free version.
    Thanks!

    Please see How to uninstall and reinstall Adobe Reader for Android.
    If you have not installed Adobe Reader for Android on the device before, you can just skip to the second section: How to reinstall Adobe Reader.
    Adobe Reader is a free PDF viewer.  You can view PDF documents, add comments (e.g. sticky notes, highlight, freehand drawing, handwritten signatures), fill out forms, add personalized bookmarks, etc.  Only extra features (e.g. converting from PDF to Word/Excel, converting from Word/Excel to PDF) require paid subscription services.
    Please let us know if you have any further questions about installation.

  • How to install adobe reader to my site [removed] so that pdf file can be read directly in my site instead of getting downloaded ?

    How to install adobe reader to my site [spam link removed] so that pdf file can be read directly in my site instead of getting downloaded ?

    Adobe Reader is installed on the client side, not on the web server.
    Viewing PDFs online is a browser setting.
    Please do not post any irrelevant links!

  • How to install adobe reader if it doesn't accept my password?

    how to install adobe reader if it doesn't accept my password?

    To install Adobe Reader (and most other programs) you need your computer's Administrator password.

  • How to run Adobe Reader on Linux Ubuntu? [was:Which progam ?]

    I have installed linux ubuntu and have downloaded adobe reader . But I am not sure which program to use to open it , can anyone help ?

    Ah. You don't select a program, because it is the program (just like an EXE in Windows). See http://askubuntu.com/questions/221416/how-to-install-adobe-reader-bin-download-from-adobe

  • HT1338 how to download adobe reader on macbook pro

    how to download adobe reader on macbook pro?

    First of all, I want you to know that Mac OS X already has the ability to open and read PDF files. You do it with the Preview application. Also, on the Mac Adobe Reader is the third most vulnerable application to security risks. That is due to exploit are delivered through PDF files.
    If you decide to download it you should still stick to using Preview to open PDF files and only use Adobe Reader in the few cases that Adobe Reader is absolutely required. Preview is not vulnerable to the same exploits as Adobe Reader because it does not have all the capabilities as Adobe Reader.
    To get Adobe Reader go to: http://get.adobe.com/reader/
    Click on the download button. Once the download completes install the software.

  • Adobe Reader does not work-how to use adobe reader on Lion

    I was trying to print an international label on eBay via Adobe Reader, and was very dissapointed and shocked that it does not work on Lion.
    I was so happy that I figured out how to use adobe reader on Lion, and hope I can help anyone else who is frusterated too.
    Step 1. Download Google Chrome
    Step 2. Printe your international label, or whatever you need to do that uses Adobe Reader

    Thanks Shelly! I too was having trouble and thought it was something wrong with my Mac. I still have a big though. When I try to print the saved pdf file, I get a pop-up that says "The document could not be printed. There are no selected pages to print" even though I am looking at the complete doc. It's there and in my print prompt "all pages" are selected to print. The way I got around this, is by emailing the pdf file to a gmail address and viewing the attachment via Google Docs. It loads perfectly and prints without a problem.
    Carla

  • Adobe Reader & Acrobat Pro Extended 9.2 are now available

    Hi all,
    Note that Adobe Reader & Acrobat Pro Extended 9.2 are now available
    http://www.adobe.com/support/downloads/new.jsp
    Or simply go to  Help / Check for updates in order to get the latest build available.
    The Adobe® Acrobat® 9.2 Pro Extended update addresses critical security vulnerabilities while providing more overall stability.
    APEX 9.2 also includes the support of Inventor® 2010 and several 3D bugs fixes.
    Hope it helps
    Best Regards
    William Gallego
    A3D QE Team

    RESOLVED!!!
    The private data of the DEVMODE data structure may be corrupted when you use raw mode to print a document in a 32-bit application on a computer that is running a 64-bit version of Windows
    http://support.microsoft.com/kb/930627
    After installing the above patch, it works like a charm.

Maybe you are looking for

  • CS4 on Windows 7 home premium 64 bit

    Hello, Although I have asked that question before..I think I wasn't as clear. I already have CS4 Design Premium on winXP(32b) that runs. And I have now a new computer with Win7 (64b home premium) Do I have to do do something before I install it on th

  • Dump in a Select query

    Hi All, I am getting a dump & the dump says " TIME LIMIT EXCEEDED". The code as  below:- LOOP AT it_gen1 INTO wa_gen1.         SELECT  vbelv posnv           FROM  vbfa     INTO TABLE  li_vbfa          WHERE  vbeln = wa_gen1-bil_number            AND 

  • Purchases continue to go missing...five years and counting.

    Does anyone know why the purchases that were once in my cloud don't show up with the little cloud now?  I have had the same Apple ID for more than 5 years.  I have had at least 4 computers and other devices over those 5 years that I have synced to th

  • Types of Oracle indexes

    Can some one explain what all are the types of indexes in Oracle

  • Invalid Password message on BB bold 9700

    I downloaded a new software onto my computer and couldn't remember my password, so I reset my pasword with BB and was able to login on the Blackberry Web site. The passord was correct. But when I tried to connect my phone to the computer to download