Java script created in Adobe Acrobat not working in Reader

Hello,
This is my first post, so I hope I chose the correct path for it
Let's get to the point:
I created a java script in Adobe Acrobat according to your tutorial page:
search.matchCase = false;
search.wordMatching = "BooleanQuery";
search.bookmarks = false;
search.query("Mytxt","Folder","../My directory");
which I found to be working as a let's call it a relative link, beacuse, after copying my file into another folder it would still work. But when I opened the same file in Adobe Reader I got a Console message:
Acrobat EScript Built-in Functions Version 10.0
Acrobat SOAP 10.0
GeneralError: Operation failed.
Search.query:4:Link undefined:Mouse Up
Folder does not exist
As I mentioned before the same file does return the results of the search.query in this folder in Acrobat. Any ideas? Suggestions? What might be the problem?

Thanks to your suggestion I started digging into the directories, so here's what's funny:
Title Page - main folder
Page 1 - sub folder
Searched PDFs - sub sub folder
I open the Title Page, then using a bookmark I open a new file in the same window: Page 1. There i have site links that allow me to perform search.query()
And now to the funny part:
In Acrobat:
If I open the "Title Page" and from there go to Page 1 my directory has to be:
../Main Folder/Sub Folder/Sub Sub Folder
to perform the required search
However If I open the "Page 1" manually my directory for the same java script has to be:
../Sub Folder/Sub Sub Folder
otherwise I get an error.
Anyway
Both don't seem to work in Reader....

Similar Messages

  • I need someone to write a Java Script for my Adobe Acrobat form. I do not know how to write Java Code

    I have never worked with Java coding and am in need of assistance for an acrobat form I am working on.
         - I have a form with a field identifier called BACompnayName (this is the field where they would enter their company name).
         - I then have a form field with two radials that says "Is the shipping address the same as the business Address" - "Yes" and "No" (the form identified for this field is SASame.
    What I am trying to accomplish:
         - If they click yes, I would like the form to fill in the information found in BACompanyName otherwise, leave it blank to be filled out by the person filling out the form.
    I appreciate any help.
    Thanks,
    Brett

    Something like the following?
    Checkbox for "make billing address the same as shipping address" doesn't work (JavaScript)

  • Problem with forms created in Adobe 9 not saving in reader X

    We have been using fill in forms I created in Adobe 9 pro and suddenly people were complaining they cannot save the form with their information.  I have discovered that all of those people have acrobat reader X.  I looked for solution and found that original form needs to be saved with "extend features in Adobe reader".  when I did this it seems to have corrected problem.  Does anyone know another way to accomplish without redoing the form? There are many forms and they  have been widely distributed and would be difficult to redistribute. They worked fine with Acrobat reader 9.

    In order for a modified form to be saved with any recent version of Adobe Reader, the document has to Reader-enabled, which is done in Acrobat 9 by selecting "Advanced > Extend Feature in Adobe Reader". So if the forms worked with Reader 9, they must have had the rights applied through this process or by LiveCycle Reader Extensions. It would be interesting to see a form that is fillable/saveable with Reader 9 that doesn't work with Reader 10.

  • 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

  • Java Script Drop Down menu is not working someone please helP!!!!!

    Okay will I had a domain hostlyon.com which was changed to
    hostlion.net . Anyhow when i re uploaded all the files to my new
    domain my drop down javascript wasn't functioning properly .... the
    menu didn't drop down.
    When you go to hostlyon.com it works... but on my new domain
    it doesn't work. What might be causing the problem..... someone
    please help!!!!

    watzursn wrote:
    > Okay will I had a domain hostlyon.com which was changed
    to hostlion.net .
    > Anyhow when i re uploaded all the files to my new domain
    my drop down
    > javascript wasn't functioning properly .... the menu
    didn't drop down.
    >
    > When you go to hostlyon.com it works... but on my new
    domain it doesn't work.
    > What might be causing the problem..... someone please
    help!!!!
    >
    Error: ypSlideOutMenu is not defined
    Source File:
    http://hostlion.net/
    Line: 1
    Mick

  • Java script in jsff page is not working when deployed as adf lib jar

    hi,
    We have a ViewController Project with a several jsff pages that has javascript references to a .js fiile in the same project.
    When run in the same app, the javascript functions are invoked correctly.
    but, when deployed as an ADF-library and consumed in a diff application, not several components' javascript is invoked.
    Input Text Components javascript is almost always invoked. But, javascript on radio buttons or table are not invoked.
    Jdev: 11.1.1.6
    Thanks,
    Harsha.

    How to include javascript resources in  Facelet tag library

  • Adobe acrobat not working

    I'm getting the message "you cannot use this product at this time" after years of no problems.  Any idea why?  Thanks, Serena

    Adobe Acrobat 9 only goes up to version 9.5.5; version 11.0.6 is part of Acrobat XI.
    Anyway, you better ask in the Acrobat forum, and give them your correct Acrobat version, as well as your operating system.

  • Since the most recent download on 8/3, my Adobe is not working?

    Since the most recent download on 8/3, Adobe is not working for reading and downloading PDF's.  I have tried everything!

    Adobe software isn't needed in OS X.
    Preview and Safari can both read PDF's.

  • Why will Adobe Acrobat not load PDF from my work website, but will load on other computers?

    Why will Adobe Acrobat not load PDF from my work website, but will load on other computers?  I have to log in to a website to get our orders, and we thought it was the website at first, but have since realized it is just my computer with this issue.  I have tried uninstalling and reinstalling the software and still it does not work. 

    You ask "why", but don't provide any information...
    What is your operating system?
    What is your web browser?
    Are you asking about Adobe Reader or Acrobat?
    What is your Reader / Acrobat version?
    What exactly means "will not load"?

  • Can java script be executed inside Acrobat reader 7

    Hello All
    I am quire new to Acrobat. Please tell me if I can execute a java script in Acrobat reader.
    I am using itext library to add java script to a pdf and opening the pdf in reader and get the error
    NotAllowedError: Security settings prevent access to this property or method.
    Global.addWatermarkFromText:1:Document-Level:0000000000000000
    First question can I execute this javascript with Reader itself. If yes how should i get rid of this error

    The Acrobat SDK cannot be used to change the information shown for
    each method in the quick bar in the documentation. If that says the
    method does not work in Reader, then it does not work in Reader...
    I do not think there is any similar method for Reader (adding a
    watermark) - very much an Acrobat function. Unless you can pre-create
    the watermark as a form field, so you only have to change the text at
    runtime.
    Aandi Inston

  • Adobe reader XI no longer plays video or audio embedded in PDF created with Adobe Acrobat X Pro.

    Help please!
    Embedded video and audio content in PDFs created using Adobe Acrobat X Pro does NOT play on some school computers after Acrobat Reader XI is installed. The media content played fine with Acrobat X. This is seen with both XP and Windows 7 machines.
    Bizarrely, other machines with Windows 7 and XP play the video and audio content fine when Acrobat XI is installed.
    Please help, as the PDFs are the delivery mechanism for a very effective literacy programme for children, and this bug has halted delivery for a considerable number of schools and thousands of children are in trouble!

    Hi Raman,
    I think we have found the source of the problem. It relates to how different browsers are detected by Adobe when updating Flash Player.
    To make the videos play within PDFs either from DVD or on the hard drive, it is now essential that Adobe Flash Player 11 Plugin (now version 11.5.502.113) is installed. (Adobe Reader 10 had its own internal flash player, so an external player was not needed)
    We have discovered that, when Google Chrome is the browser, automatic updates of Flash do NOT download this programme. Flash 11 ActiveX is the only programme that is downloaded, and the videos do NOT play from DVD or harddrive.
    Also, it is not possible to manually download Adobe Flash Player 11 Plugin as this option is not presented to the user. Presumably Adobe have set it up this way, because the Adobe site recognises Chrome is being used, and assumes that the computer does not need the plugin flash player, as Chrome has its own internal flash player. However, other programmes may need it!
    We went to FileHippo to download the non-IE version (even though we were using Chrome!) at
    http://www.filehippo.com/download_flashplayer_firefox/
    Then the videos played from DVD or harddrive.
    I have not been able to test how this works with other browsers. I hope that Adobe can sort this problem out asap!
    regards
    Buffy

  • Creating 508 Adobe Acrobat Accessible Docs from various sources and formats

    Note: I have no 508 training, except for perusing of documents on the web.
    I need to create searchable 508 Compliance report documents for Adobe Acrobat (not for the web at this time) from merged PDF files. 
    To create these reports, I do not have originals, all I have been given are PDFs, some of which have been created from Word and others scanned (some with OCR and some not).  Some of the reports are converted directly from Word but may also be a combination of electronic and scanned pages (signature pages, graphics, appendices, etc.)  Often the scanned pages have not been scanned to actual letter size (8.5 x. 11), but are smaller.  Sometimes they are larger or A4.
    In preparing the final report, I take all of the PDFs and merge them into one document.
    I add watermarks and headers/footers to the whole document. 
    In order to get all of the watermarks and headers/footers to align on the page with ease, I need all of the pages to be the standard letter size of 8.5 x 11 without losing any information.
    The only way I can figure out how to achieve this is to take the pages (usually scanned pages) that need to be enlarged (sometimes reduced) and Print to a PDF. 
    This will create a new PDF of the existing PDF; making it the standard letter size of 8.5 x 11, without cropping.
    I can then replace the odd-sized pages with the new PDF pages, creating a document where all of the pages are now the standard letter size of 8.5 x 11.
    Once my document is all the same size, I can add my watermarks and header/footers.
    I still need to make the whole document a searchable 508 Adobe Acrobat compliant document.
    I believe I need to run the OCR Text Recognition to convert/capture scanned pages and pictures to make this document a searchable 508 Adobe Acrobat compliant document.
    I tried running the OCR text recognition on the current merged (160 pages) PDF document (before adding my watermarks, headers/footers) to capture the scanned text, and I receive the following errors:
            This page contains renderable text.
            This page has graphics other than images or text on it. It cannot be captured.
    When I ran the Adobe Acrobat Accessibility checker, I get the following errors:
           The first page is a scanned signature page: the error says
    1 image with no alternate text
                1 element(s) that are not contained within the structure tree.
    1.     Inaccessible page content
         Most of the remaining detailed report errors are:
    Inaccessible page content
    1 element(s) that are not contained within the structure tree.
    I tested one page and used the Touch Up Reading Order tool and added alternate text to a signature block, ran the accessibility checker again, but still came back with alternate text errors.
    I am open to suggestions.  Feel free to advise me from beginning to end in regards to what I’m trying to accomplish. 
    THANK YOU!

    You do have a boat load of work.
         This page contains renderable text.
         This page has graphics other than images or text on it. It cannot be captured.
    This isn't an "error". Acrobat's OCR cannot process  PDF page content that is not exclusively an image.
        1 image with no alternate text
    When properly tagged, an image or graphic in a PDF is identified by the PDF element "Figure"
    (<Figure>).
    All Figures shall have an Alternate Text Description.
    You may have images/graphics that are tagged as Figures but should be Artifacts.
    OCR - The hidden layer of OCR output provided by Searchable Image or Searchable Image (Exact)
    is, for practicable purposes, not something one can effectively created Tagged PDF from.
    Prior to Acrobat 9 one would use Formatted Text and Graphics. With Acrobat 9 one would use
    ClearScan. Alternatively, one might just re-key the content in an authoring application and output Tagged, accessible PDF.
    Watermarks & Header/Footers -
    Oh boy; well, once you have everything else in a "green board" line up you'd add these and manually
    "fold" them into the structure tree via proper tagging.
    So, the first step is to gain at least a fundamental understanding of what an Accessible PDF is and
    how to create it. Then you'd want to become familiar with Section 508 1194.22.
    As each of the paragraphs are correlated to WCAG 1.0, you'll want to review it to understand what
    the correlation is and how it relates to PDF.
    However, Section 508 will be changing.
    The Draft Updated Standards and Guidelines are on the street.
    The window for public comment closed a few weeks ago.
    PDF - What it is: An ISO Standard (ISO 32000-1:2008)
    Obtain a free version of this ISO Standard to study what "Tagged" PDF is (Accessibiity is just one facility associated with Tagged PDF).
    http://www.acrobatusers.com/blogs/leonardr/adobe-posts-free-iso-32000
    Section 508, 1194.22
    http://www.section508.gov/index.cfm?FuseAction=Content&ID=12#Web
    The "change" that is pending - at the Access Board's site:
    Section 508 Homepage: Electronic and Information Technology
    http://www.access-board.gov/508.htm
    Download the PDF of the Draft Updated Standards and Guidelines for review and study.
    Note that, in part, this more closely aligns Section 508 to WCAG 2.0.
    WCAG 1.0
    http://www.w3.org/TR/1999/WAI-WEBCONTENT-19990505/
    WCAG 2.0
    http://www.w3.org/WAI/intro/wcag.php
    Start with the Overview and work through the technical, educational, and transition to 2.0 information.
    "How To"
    Still relevant in an Acrobat 9 world:
    Creating Accessible PDFs using Adobe Acrobat 7.0 Professional, Greg Pisocky
    http://www.appligent.com/adobeaccessibility
    (Download to PDF file and exercise files (ZIP file).
    For Acrobat 9:
    http://www.adobe.com/accessibility/products/acrobat/
    For links to an accessibility overview and FAQ.
    Acrobat accessibility training resources
    http://www.adobe.com/accessibility/products/acrobat/training.html
    Yes, review - study all.
    A resource listing at Acrobat Users Community
    (PDF Tags Books thread)
    http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=15622
    I've not checked all the links recently - some destinations of the URLs may be gone
    (floatsom on in the deep blue of the web <g>).
    Regardless, much "how to" was in PDF documents Adobe published for earlier Acrobat releases.
    It is still relevant.
    Accessibility on demand eSeminars:
    http://www.acrobatusers.com/learning_center/eseminars/on_demand
    Scroll through the pages of links to the recorded eSeminars to locate and view -
    --| David Mankin's "Scanning and OCR"
    --| Duff Johnson's "Tech Talk: Making PDF files comply with Section 508"
    Transcript, PDF of PowerPoint file, other information for download at Lori Kassuba's AUC Blog -
    http://www.acrobatusers.com/blogs/lkassuba/making-pdfs-comply-section-508-tech-talk-0
    --| Charlie Pike's "Accessibility"
    "Q&A" transcript at Lori Kassuba's AUC Blog -
    http://www.acrobatusers.com/blogs/lkassuba/top-questions-june-accessibility-eseminar
    Accessibility Forum at AUC - Accessible PDF related posts
    http://www.acrobatusers.com/forums/aucbb/viewforum.php?id=18
    Read through Duff Johnson's AUC Blog and Talking PDF articles related to accessible PDF.
    --| AUC Blog  http://www.acrobatusers.com/blogs/duffjohnson
    --| "Talking PDF" http://www.appligent.com/talkingpdf
    Visit Adobe TV
    --| Ensuring Your PDF is Accessible
    http://tv.adobe.com/watch/acrobat-tips-and-tricks/ensuring-your-pdf-is-accessible/
    --| Navigating an Accessible PDF Document (Part 1)
    http://tv.adobe.com/watch/acrobat-tips-and-tricks/navigating-an-accessible-pdf-document-pa rt-1/
    --| Navigating an Accessible PDF Document (Part 2)
    http://tv.adobe.com/watch/acrobat-tips-and-tricks/navigating-an-accessible-pdf-document-pa rt-2/
    Getting underway from cold iron shutdown takes time and effort.
    Be well...

  • Cannot opening PDF created with Adobe Acrobat 5 on Samsung Android device

    Hi I have an number of links to PDFs on my WordPress.com blog home page (www.creationtonewcreation.com). These were created in Adobe Acrobat 5, with security applied that allows viewing and printing. They open fine on my laptop (e.g. with Google Chrome), but when trying to open on my Android mobile (Samsung Note 3 - a standard design) with Acrobat Reader installed, an error message appears 'The document cannot be opened because it is not a valid PDF document'. It is a valid PDF as it was created with Adobe 5 itself. Do you know what the problem might be?  I have uploaded another PDF (not sure what this was created with) on my other WordPress.com site, and it downloads fine, so WordPress.com is not the problem per se.  Many thanks for any advice anyone can give.  Rob

    Hi Robert,
    I am so sorry for the inconvenience caused & will try my best to get this issue resolved.
    I will recommend you to upgrade your Adobe reader to Adobe Acrobat Reader DC on your Samsung Note 3 mobile phone and then try to view the pdf files. You can download it for free from the Google app. store or you can refer to this link Acrobat Reader DC Learn & Support.
    Let me know if you still experience the same issue.
    Regards,
    Aadesh

  • Can't open pdf created with Adobe Acrobat Pro

    I can't open a pdf (that was created with Adobe Acrobat Pro) using Reader 11. However, the file will open with an older version of Reader (10.1.4) on another workstation. Is there any way to resolve the problem?

    Reader 11 is not available for general release. If you participated in the beta program, there is a place for this discussion which you have been provided. If you did not participate in the beta program, then you should not yet have access to Reader 11. I have just checked the Adobe website and it is not available to download from there.

  • CS4 "Save as Adobe PDF" not working in Mountain Lion

    CS4 Save as Adobe PDF not working in Mountain Lion
    Just bought a new Mac with mountain lion, installed CS4 design premium twice trying to fix this. When you go to "print" then "Save as Adobe PDF" the process fails with a pop-up saying "An error occurred while saving the PDF file". I can still do the standard "Save as PDF" - but that usually results in a file size 10x larger than Save as Adobe PDF so it won't work for me; I need the small file sizes of Save as Adobe PDF.
    When I go to Help > Repair Acrobat Installation it seems to be recognizing a repair needed with Adobe PDF Printer (see screenshot below); but when I go through the repair nothing changes it still won't work.
    Any help is much appreciated!

    "Save As Adobe PDF" works fine in Snow Leopard.
    Thanks for the link, but this is no help - I already have "Save As Adobe PDF" on the menu - the problem is when I click that it errors out...
    I just think its sad that Adobe charges people $2000 and provides zero support for future updates; when I buy an iMac for half that amount of money or an iPhone I get operating system support and bug fix downloads to deal with the latest internet advances for years to come - but Adobe apparently takes your money and says sayonara! Is it really that hard to provide updates on $2000 worth of software for say 24 months??

Maybe you are looking for

  • Standby Database in 10g SE

    Hello, I have to create standby DB on AIX. I know, it's not possible to use the DataGuard with Oracle DB Standard Edition, so I must do it with an older technique. I want to set up remote location for archived logs with OPTIONAL and REOPEN options. P

  • Can't sync photos after Lion upgrade

    When I sync my iPhone 3GS and select any photos from iPhoto I get an error stating that The required file cannot be found. I have repaired the iPhoto database using command+option while starting iPhoto. I have reinstalled and updated both iPhoto (9.1

  • Adding more RAM to iMac 24"

    Hey Everyone, I'm considering buying a 24" iMac. I've been told that a way to save some money, is to get the RAM from elsewhere and install it myself. I'm just checking whether this is actually possible and how hard it is to actually do it. Please he

  • HT3645 i cant get my sensor to activate on nike+ipod

    help me plz

  • Installing RCU 11.1.1.6 Getting error Unknown Master and Work Repository

    Hi All, While installing RCU 11.1.1.6 I am getting error "unknown Master and Work Repository" could any one please tell me the solution for this Thanks Kumar