Javascript not working in Adobe Reader

Hi,
I have given the following javascript code in the "Will Save" Document Action. But this code does not execute in Adobe Reader, it works fine in Acrobat Standard/Pro. Why this code does not execute in Reader?
app.alert("Hi");
if(app.viewerVersion<8){
app.alert("Exit");
this.closeDoc(true);
Cheers,
Vinay

Yes the javascript is enabled.
The alert comes up in Acrobat Pro when I use the 'Save' or 'Save a Copy option'.  When I use the 'Save a Copy' option in Adobe reader, the alert does not come up.
Cheers,
Vinay

Similar Messages

  • Attach JavaScript not working in Acrobat Reader XI

    Hello,
    I created a fillable PDF in which I used the following JavaScript for an "Attach" button: 
    this.importDataObject("MyFile");
    This JavaScript worked and allowed the end user to attach files to the PDF in previous versions of Acrobat (through version 10 / Pro), but the button's functionality does not work in Adobe Acrobat XI.  The button has no functionality when clicked, and no errors are received indicating what the issue may be.
    Is there a bug that exists making this file not compatible with the Acrobat XI version, or is my coding outdated/inaccurate?
    Please advise and thank you for your help!
    Jessi Fenton

    Did you ever figure this out? I am also having problems with the "No Hand" javascript which turns off the (not very helpful) page-forward hand icon (a hand symbol with a down arrow) which confuses our users when in fullscreen mode. We create interactive PDFs and everything worked fine up to Acrobat X/Reader X. Now in XI it doesn't allow the internal link icon (pointing finger) nor weblink icon (pointing finger with W) to appear. It just remains a plain o’ hand icon no matter what you mouse over even though there are links present.

  • Dynamic pdf created in adobe 8 not working in Adobe reader 9

    Hi ,
    I designed dynamic pdf using Adobe 8 livecylce.
    I am able to generate the dynamic pdf with values filled in from the database in Adobe 8 reader,standard and professional versions.
    I recently installed Adobe 9 reader and when I try to generate the dynamic pdf , the pdf if generated but the values of the fields comes as null.
    Is dynamic pdfs created in 8 not compatable with adobe 9 reader? Do I need to redesign the documents in 9 again ?
    Please let me know, I designed a lot of pdf documents using 8 livecycle under the assumption that it is going to work in future versions.
    Thanks,
    Vidya

    Hi,
    I figured our there was a setting to enable/disable  Javascript which caused this issue.
    I was using javascript in the LC 8 for manipulations in the dynamic pdfs.
    I enabled the javascript and now it is working fine.
    Thanks,
    Vidya

  • ID CS6 Form Submit not working in Adobe Reader

    Hardware = Mac 8Core OSX 10.7.5 | Software = InDesign CS6 vs 8.01
    I'm having ongoing frustrations with the ID Cs6 Forms. The interactive form Submit button works on my machine's Adobe Acrobat Pro, but not on machines using Adobe Reader (I've given up on it working in Apple Preview). It has worked on one other mac machine, again it was Adobe Acrobat pro 9.1.1. Any advice will be appreciated. Thanks in advance: Justin

    You need to enable that in Acrobat Pro.
    Bob

  • Tool Button Not Working in Adobe Reader 9

    Hello,
    I have a custom tool button - folder level script (with a trusted function) to digitally sign a drawing template.
    The tool button works in Reader 8 and Reader X, but is not working in Reader 9.
    The error message is shown "Not Allowed Error: Security settings prevent access to this property or method".
    Can any one please advise why this would not work in Reader 9 when the tool buttons work in other versions of Adobe Reader?
    Thank you.

    Adobe changes JS with every major release, check the Acrobat JS API Reference to see what has changed with regard to your code.
    Without seeing your code, there is no way tell what is going on. Also check the preferences to see if there is an option that needs to be checked to allow your script to work.
    Since Reader X works and it is free, why not upgrade?

  • Adobe lifecycle pdf is not working in adobe reader

    Hi Team
    I have designed one form in Adobe lifecycle designer. In that form i have button to export pdf to xml.it is working in adobe lifecycle pdf preview screen,but if you open in adobe reader export functionality is not working.How the end user will export pdf to xml. Please kindly suggest me any method to same export functionality in pdf adobe reader for end user. Thanks in advance.

    Moved to LiveCycle Designer

  • The "Adobe Reader 11.0.08 security update - All languages" is not working with "Adobe Reader 11.0 - Multilingual (MUI) installer" using msiexec when creating an msi package. is there going to be a release of Adobe Reader 11.0.08 update - Multilingual (MUI

    Is it possible to create an msi package if the product you are upgrading is Multilingual (MUI) and the update(msp) you are applying is not Multilingual (MUI) but "All languages"?

    Please download the latest Adobe Reader patch from the below mentioned location, it will work with MUI installer.
    ftp://ftp.adobe.com/pub/adobe/reader/
    ~Deepak

  • AcroPDF ActiveX print functions are not working with Adobe Reader 9.2 / Actobat Reader 9.3

    AcroPDF ActiveX print functions are not working with Reader 9.2/9.3. Tried ActiveX print functions like printPages(), printAll(), printWithDialog(), none of them is working. Tried on platforms: XP 32 bit and Win7 32 bit. These print functions all work fine with Adobe Reader 9.1.0. or 8.2.0 or 8.1.0 on XP 32 bit or Win7 32 bit.
    The way I have my setup: I have created a C/C++ project with AcroPDF MFC ActiveX classes. I have created an AcroPDF object in there, and then calling it's LoadFile() function passing a pdf file in the parameter. Then calling the printPages() or printAll() function. With Adobe Reader 9.1.0. or 8.2.0 or 8.1.0, printing is starting through the default printer without any problem. As soon as I update the reader version to 9.2 or more, the same code stops working.
    Is anybody noticing any similar issue? Any info on this will be highly appreciated. Thank you!

    Unfortunately printWithDialog() is also not working. Actually none of the print functions like Print(), printWithDialog(), printPages(), printPagesFit(), printAll(), printAllFit() are working. All of them works fine though with older reader.
    BTW, what security related changes are there for printPages() and printAll()? Can you please elaborate on that? Is there any workaround?

  • Print not working in Adobe Reader 11.0.07.

    It does not acknowledge that I have clicked the “print” button in the program. Control   P also has no response. Therefore, I cannot even look at printer settings. I am running Mac OS X 10.9.4. I’ve uninstalled and reinstalled a few times. Admin settings allow me to print PDF’s. Printer is an HP LaserJet 1536dnf MFP. All other programs are able to print. Only Adobe Reader is not working. Any ideas?

    Have you tried these suggestions on the HP site? Cannot Print PDFs from Adobe Reader | HP® Support
    I didn't notice where they may have said to be sure you have the very latest print drivers installed but, you should install them if you haven't already.

  • Save functionality is not working in adobe reader

    hello,
    i am designing layout for offline adobe forms in Adobe Live Cycle Designer ES version 8.1 and having adobe reader version 8.
    i save form on PC. When i open  it shows me save button after doing changes in form m not able to save it as save functionality is not working.....Kindly suggest me any solution..
    Edited by: Gopal Khandelwal on Nov 22, 2011 12:21 PM

    Moved to LiveCycle Designer

  • Macros not working in adobe reader touch???

    Is it possible to have a document with working macros which update figures in a .pdf file in adobe reader touch on windows 8 rt???

    I don't recognise the word "macro" as applied to PDF. What exactly does the file have? Embedded JavaScript?

  • Search/ find Text function not working in Adobe Reader

    I am having problem with text search in Adobe reader latest version 9.3.
    One pdf file generated through a pdf printer inside a word processing program and has around 100 pages. So there is no issue of having a scanned document which is not searchable.
    In this document, when I try to search the text inside the pdf file using Adobe Reader 9.0, it is working alright and it is recognising the text searched for.
    However, When the same pdf file is searched using Adobe Reader 9.3 and 9.4 etc it is not searching the text which is present at more than five places in the document.
    Please advise.

    Scanned PDFs that have not had OCR performed will just contain an image of text, so they cannot be searched. Other files may have messed up fonts. Without looking at eachc particular document, it's hard to say what's wrong.

  • Read out loud does not work on Adobe Reader XI.  Does anyone know how to fix this problem?

    Does anyone know how to repair the Read Out Loud problem with Adobe Reader XI?

    Hi thomash,
    Are you running into this problem with all PDFs, or just a select few? If the PDF was created from a scan, and OCR wasn't performed (so there's no "live" text), then there wouldn't be anything to read aloud.
    If the issue occurs regardless of the PDF you have open, has anything changed on your system since Read Out Loud worked for you?
    Best,
    Sara

  • "Find" Not Working in Adobe Reader X

    I Installed ARX on a Win7/64 machine a few months ago...it seems to work fine.  But today I tried to use the "find" function; everything seemed normal, I asked it to find the word "smith", but it wasn't there (but it really was).  I then tried the word "the", not there either.  Neither was "and".  What's going on?  [FWIW, I use Norton if that's a problem for "find".]  Thnx
    I just realized that it does work on some documents.  Would working or not working depend on how the PDF was generated?  For ex, some of my PDFs came from a scanner, some were web-PDF conversions, some were exports (like from Family Tree Maker), some were originally PDFs, ....

    Scanned PDFs that have not had OCR performed will just contain an image of text, so they cannot be searched. Other files may have messed up fonts. Without looking at eachc particular document, it's hard to say what's wrong.

  • Read Out Loud Not working in Adobe Reader XI

    Read Out Loud is not working.  I have selected the the Microsoft Anna voice in preferences. I have selected the recommended "infer order from doc".  I am at a loss to know why it does not work.  I am using MS Office Professional 2013.  Please help if you can. 

    agille wrote:
    Read Out Loud is not working.  I have selected the the Microsoft Anna voice in preferences. I have selected the recommended "infer order from doc".  I am at a loss to know why it does not work.  I am using MS Office Professional 2013.  Please help if you can.
    Are you sure that the pdf you have isn't a scan? If so, that's just a picture of text so there is nothing to be read.
    agille wrote:
    I am using MS Office Professional 2013. 
    Is this a clue? I'm not sure how this fits in.

Maybe you are looking for