this.saveAsText Adobe Reader button
General information
I use DC of Acrobat Reader and Adobe Acrobat Pro XI on Windows 7.
The problem
I have a form with several fields of text adobe. I want to add a button to the form that export field data to a .txt file. To this end, I placed this code in a Javascript file level to the path ' C:\Program Files (x 86) \Adobe\Acrobat 2015\Reader\Javascripts Reader:
var exportTrial = app.trustedFunction(function(){ app.beginPriv(); this.exportAsText(); app.endPriv(); });
I added a button to my form and set the action 'Run A JavaScript' with
exportTrial();
as the code.
I extended rights (I think) using file > save as other > Reader Extended PDF > activate tools plus (includes filling out form and save).
When the form is opened in Adobe Reader, the button is visible, but when it is pushed, the console displays the following error message:
NotAllowedError: Security settings prevent access to this property or method. Doc.exportAsText:3:Field Button:Mouse Up
If I understand it, the code I have pop is a "save under" type dialog box for the user to choose where to place the output file. I'll eventually use cPath argument to skip this step, but I need to get the basics working first.
If anyone can see a step I missed in this process, or if you can shed light on the permission issues that I may have, I would be grateful.
To use this method in the reader a special right to form must be applied to the
file and it cannot be done with Acrobat but with one of the LiveCycle
Server applications, which are extremely expensive.
Tuesday, July 5, 2016 23:08, zacht17160615, [email protected]>
Tags: Acrobat
Similar Questions
-
Hello
I really need to create a button of output for use in Adobe Reader. I use Adobe Acrobat and will use a javascript that works.
My understanding is that Adobe does not have this feature. Could someone link me an official response/reason as to why it is?
Also, if anyone has any ideas to work around this problem, please let me know. These PDF files are opened in a mode program full screen. A simple output, or even a button to reduce, would allow them to go back to the program. Now it closes only the document, leaving even Adobe Reader. Simply, it seems unprofessional and adds an annoying step to return to the program. Help, please.
Thank you for your time.
Where it is documented: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.143.html
It makes sense, because a single document should not be able to automatically close Acrobat/Reader, which can have several documents open.
-
How can I overcome the Abobe Reader message whenever I try to download a file from a web site: Adobe Reader outdated! Subsequently, I am unable to download and print the file
You do not give us the exact words, but I guess that this message appears on the screen, like on a regular PDF with this message. If so, ignore the message and save the file in the usual way on your desktop. Now open in Adobe Reader.
-
Adobe Reader 11.0.09
Product enhancement requests can be submitted to https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
-
"Attachment" to the Adobe Reader button
I create Adobe Presenter 9 courses. Is it possible to remove the "Attachment" Adobe Player button when veiwing the course?
You can also change the file vconfig.xml in the presenter output files. There will be a value which is:
Change to:
-
get acquainted with my computer
Adobe Reader is a free program from Adobe (http://www.adobe.com/products/)
which allows to read PDFs (Portable Document Format http://en.wikipedia.org/wiki/Portable_Document_Format ).Receive more of the electronic documents that you find on Web sites, in emails, etc will be "PDF" files
Without Adobe Reader or another program on your computer that understands what a 'PDF' file
you wouldn't be able to see the document and to read it.Here is an example of a PDF document. If you click on this and see the document in your Web browser, then you have installed a PDF reader.
(http://research.microsoft.com/pubs/79655/gazelle.pdf)If you see that the document is that you do not have a PDF reader or the link above has changed since the original post.
If you need a PDF reader, go to http://www.adobe.com/products/ and click on the 'Get Adobe Reader' button.
-
DEP won't allow Adobe reader to run?
I had this problem several times. My computer was fine to open any PDF file, and I don't know since when it prevented me to open any PDF file. :( What actually happened is when whenever I tried to open a PDF file and windows just automatically close adobe reader and say that there is a problem with adobe reader. So all of this just stopped himself! Windows said it was DEP prevents viruses and bad things to the computer and so and so... I tried to reset the DEP option on my computer, but it says that you can not turn off DEP for this program (adobe reader software). Very well, very well. So I downloaded the latest version of adobe reader and the problem was solved in part. By part I meant that I can open only PDFs that have already registered on my computer, but not the web browser. I then went to the Web site of firefox (the browser I normally use) for help and it fixed the problem. However... today, I turned on my computer and tried to open a PDF file on the web broswer, everything was back to where it was! What the hell is happening? I can't open any PDF file with adobe reader, and I need to open the files of sugar! PLEASE HELP ME! Thank you. : D
Hello
I suggest you follow the steps in the link that talks about the similar issue when you face below by SpiritX MS MVP:
-
Please, where can I download adobe reader for lix (RPM if possible)
Please, where can I download adobe reader for lix (RPM if possible)
Hi giuseppefailoni,
Please refer to this link Adobe Reader (Linux)
Kind regards
Nicos -
He asks permission to make changes to the computer whenever I have something open in Adobe Reader. Also it will not open my email client when I try to send the document in an e-mail message. Help!
Hi damons43594356,
Please uninstall 11 Reader using this Download Adobe Reader and Acrobat tool - Adobe Labscleanup tool, reboot your system and install Acrobat Reader DC using this link Adobe - Adobe Acrobat Reader DC Distribution.
Kind regards
Nicos
-
I don't seem to be able to combine multiple adobe files into a single adobe document. Do I need to buy an additional product for this in adobe reader?
Hi Art Brock,
You can buy the Adobe PDF package to combine the files using Adobe Reader, if you must use Acrobat Reader DC for this task.
You can purchase the subscription by using the following link: online PDF converter, convert to web or Acrobat Reader | Adobe PDF Pack
Kind regards
Rahul -
When I try to update or uninstall the software adobe reader I get popup "couldn't opern HKEY_local etc. and I can't do anything." How to access the HKEY? @
Hi dicky52237470,
Please uninstall the drive using this Download Adobe Reader and Acrobat tool - Adobe Labscleanup tool, reboot your computer & reinstall the drive using this link Adobe - Adobe Acrobat Reader DC Distribution.
Let me know if the problem persists.
Kind regards
Nicos -
Acrobat Adobe reade dc will not be open in windows 10
When I click the icon, the program does not open. I can't open a pdf files on my new computer windows 10. Please advice
Hi Abruzzo,
Please uninstall Acrobat Reader DC using this Download Adobe Reader and Acrobat tool - Adobe Labscleanup tool, reboot & reinstall it using this link Adobe - Adobe Acrobat Reader DC Distribution.
Now try to open pdf files, let me know if the problem persists.
Kind regards
Nicos
-
Adobe Reader could not open Photoshop...
After downloading Adobe Photoshop elements 13 - I got this message "Adobe Reader could not open PhotoshopElements_13_L525_win64 .7z (1)"because it is not a supported type file or because the file has been damaged."" What do THIS MEAN and WHAT do I DO NOW?
What I did to solve the problem was to uninstall my old Adobe Photoshop 8. Reinstall it - then I tried downloading & it worked - but thanks for your help.
-
Software Adobe reader opens the pdf file but no bar menus of adobe to handle pdf files
My pdf documents last 3 or 4 have this problem. Adobe menu bar has shown in the PDF on the Adobe site. Is what happens because of problems with a PDF of creators or is this my adobe reader software? I ran repair from adobe. Version of Player 10.1 Adobe... on my windows 7.
Using firefox 7.0.1.
TIA
Hi the F8 seemed put to the top of the menu bar from Adobe on several events.
Unable to find opening Office of adobe reader preferences.
Thanks a lot for your help.
wildwest949
-
instructions to install Adobe Reader repair?
Hi folks, I'm on a new computer in Win7, Adobe Reader 9.3.0 is installed and running.
I received jumping - rises that an update to Adobe Reader is available. I click on start installation, and get an Installation error message failed, with instructions to install Adobe Reader repair. No link provided to this tool/software and I can't find it on the Adobe site. During this time player continues to function. Suggestions as to how find this repair Adobe Reader or how if not properly install the reader up-to-date? Thanks a lot, and if this has already been answered I apologize and would be grateful if you could re - direct me to the answers for this already posted.
I think what he's trying to tell you is to repair your installation.
Open the player and select help > repair Adobe Reader Installation.
Maybe you are looking for
-
It is better to buy a MacBook Pro 2008? She asks $450
HHave a chance to buy a late 2008 MacBook Pro is useful she wants $450.
-
Can I change the parent on my xbox account?
I'm only 17, will be 18 in August. Well, my brother is set up as an adult on my Xbox account, and I want him removed and replaced by someone that I hope more. My brother and I do not have blind eyes these last time, as well to the point where, earl
-
Wireless, but not wired...
Hi, I just plugged my new Linksys WRT610n and configure settings wireless thanks to the manual installation. I tried using the disk as it insisted on the fact, but he told me the router is not connected. This disturbs me because I managed to connect
-
Print spooler continues to stop in a few seconds
For weeks now, I could not print directly from my laptop because for some reason any the print spooler service keeps shutting off after manally activate the process. Since the passage of Vista Premium to Win 7 Ultimate every time I try to print, I ge
-
update of error80073712 help anddt000 problems?
can not get my windows 7 update 2 including error80073712 and error dt000 help...