Start program from javascript in adobe reader

Hi,
I'm trying to develop a javascript that add a button.
When the user click on the button, the javascriopt should run an executable, wait for the end of the process, then open a text file and save the pdf as the content of this text file.
I've found how to open the text file in the api reference but i can not run the exe.
Has anybody already done before?
thx a lot
Benjamin

So, i have to develop them on a computer with the pro version to correctly compile the plugin?
For testing I have copied an api file (already compiled) from the sdk folder to the plugin folder, i have disabled the certified mode but I cannot see this one into the list (see pic)
What i'm trying to do is simple:
Ad a save button, when the user click on this button, the plugin will have to run a program that write a path into a text file. After closing the program, the plugin will read the path and then save the opened pdf at this place.
I think that the acrobat pro is a little bit "overkilled" for tht stuff, don't you?
Javascript can do that:
var shell = new ActiveXObject("WScript.shell");
shell.run("explorer.exe");
Why the adobe reader is not able to do that?

Similar Messages

  • Launching Web Start Program from an Applet?

    Hi,
    I need to launch web start program from an applet.
    How can I do that?
    I have tried opening a new web page pointing to the jnlp file from an applet. But, that does not seem to start the web start.
    Thanks in advance
    rg

    I am new to this so may be my questions will appear stupid to a pro, but this is an erro I am getting at compile:
    Can't make static reference to method java.lang.Process exec(java.lang.String) in class java.lang.Runtime.
         Runtime.exec("test.exe");
    What could be the problem?
         ^

  • How to call java program from javascript

    Hi,
    I have an java program which will transform one xml to another xml using XSLT.
    I want to call this java program from Javascript? Is this possible? Please suggest me.
    Thanks,
    Gopal

    is it not possible?
    do i have to refresh the page and read in the values like...
    <%
    String ename = request.getParameter( "EmployeeName");
         session.setAttribute( "ename", ename);
    %>and then call the class from here?
    looking around ive come across ajax but i dont know how to use it and what you need to install and if its compatable with tomcat and jsp?
    is ajax better or not really worth it?
    i have anything up to 100 fields that need saving at one save click

  • My computer is infected with adware.  I deleted Adobe Reader thinking it might have the adware in it.  Since the problem started the same day as Adobe Reader was installed.  How do I reinstall Adobe Reader?

    My computer is infected with Adware.  I deleted Adobe Reader thinking it might have the adware in it.  Since the problem started the same day as Adobe Reader was installed.  Reader wasn't the problem.  So how do I get Reader reinstalled?
    And if anyone knows how to delete WebProtect ads, please let me know.  It's actually getting worse.
    FrostedinSilver

    Hi frostedinsilver,
    I'm sorry to hear that. What a hassle.
    You can download Reader from www.adobe.com/products/reader.html.
    Best,
    Sara

  • How do I move a file from "Recents" in Adobe Reader for Android to a folder in "Documents"?

    How do I move a file from "Recents" in Adobe Reader for Android to a folder in "Documents"?
    Files from Google Drive are appearing in "Recents" where I cannot organize them hierarchically.
    I cannot find a user manual for Adobe Reader for Android with this level of detail.

    Hi John,
    Files opened via Google Drive are not listed in ‘Documents' section of Adobe Reader, because they are read only files. If you really want to save these files to ’Documents' then please follow below steps -
    Open the file from Google drive in Adobe Reader.
    Tap on the Comment icon placed at top toolbar(Second icon from the beginning)
    You would encounter a 'Read-Only document’ dialog, tap on Save button.
    Once you performed above steps , your file will be saved in /Download/Adobe Reader/ folder.
    Hope this will solve your problem.
    Thanks,
    Adobe Reader Team

  • Cannot open pdf from Gmail in Adobe Reader app on iphone4s

    All
    I have installed Gmail and Adobe Reader App on my iphone4s with ios 6.0.1...I was trying to open a PDF attachement from Gmail in Adobe Reader to sign it electronically, however the attachement just does not show the "open in" option
    I tried tapping and holding the attachment icon, it just shows "Open / Bookmark/ Copy"...
    Also i tried opening the attachement first and then tapping on it, it just shows "open in Safari"
    Is there any settings to be done to add the options of Opening in Adobe Reader/or any other Docu Sign app
    Appreciate if someone could help
    Sandip

    I tried tapping and holding the attachment icon, it just shows "Open / Bookmark/ Copy"...
    Also i tried opening the attachement first and then tapping on it, it just shows "open in Safari"
    Is there any settings to be done to add the options of Opening in Adobe Reader/or any other Docu Sign app . the exhibition booth systems one would work i think
    Appreciate if someone could help

  • How did my pdf files get converted from 'open with Adobe Reader' to open with Adobe Acobat'?  And if I have a ''free'' Acrobat account why does it not open?  When I do click on the account it ask me to pay $89.99.  I never wanted Acrobat.  How can I get -

    How did my stored files get converted from 'open with Adobe READER' to 'open with Adobe ACROBAT'? How can I get them re-set to open with 'Adobe Reader'?
    Please reply to my e-mail:   [email protected]

    It sounds as if you downloaded Adobe Acrobat Pro. If you did, uninstall it. Then repair Adobe Reader.
    The free Acrobat account has no connection to any of this.

  • How to fix "NotAllowedError" with the mailForm method (javascript) in adobe reader 9.3?

    Hi! I want to know if it exist a way to use the mailForm method (this is javascript) in adobe reader 9.3?
    Or, are there any equivalent method? I want to send by email a FDF with my PDF.
    When I run my javascript, I got the following error: "NotAllowedError: Security settings prevent access to this property or method.
    Doc.mailForm:55:Field FI_ENVOYER:Mouse Up ".
    (Here, FI_ENVOYER is the name of my button).
    Tanks for the help!

    My document have this rights:
    Protection method:                              None
    May be open in:                                  Every version of Acrobat
    Print:                                                 Allowed
    Assemble the document:                    Unauthorized
    Copy of content:                                 Allowed
    Copy of content for accessibility:         Allowed
    Extract pages:                                   Allowed
    Comments:                                       Allowed
    Filing form fields:                               Allowed
    Affixing signature:                              Allowed
    Creating pages models:                     Unauthorized
    Is "Creating pages models" or "Assemble the document" can prevent the use of the mailForm method?
    I know that the mailForm requires privileges, but how can I allow these two rights who are unhauthorized?
    Is there something else I can do to be able to use the method "mailForm" without having the "NotAllowedError"?
    Tanks

  • How to use mailForm methode (javascript) in adobe reader 9.3?

    Hi! I want to know if it exist a way to use the mailForm method (this is javascript) in adobe reader 9.3?
    Or, are there any equivalent method? I want to send by email a FDF with my PDF.
    When I run my javascript, I got the following error: "NotAllowedError: Security settings prevent access to this property or method.
    Doc.mailForm:55:Field FI_ENVOYER:Mouse Up ".
    (Here, FI_ENVOYER is the name of my button).
    Tanks for the help!

    My document have this rights:
    Protection method:                              None
    May be open in:                                  Every version of Acrobat
    Print:                                                 Allowed
    Assemble the document:                    Unauthorized
    Copy of content:                                 Allowed
    Copy of content for accessibility:         Allowed
    Extract pages:                                   Allowed
    Comments:                                       Allowed
    Filing form fields:                               Allowed
    Affixing signature:                              Allowed
    Creating pages models:                     Unauthorized
    Is "Creating pages models" or "Assemble the document" can prevent the use of the mailForm method?
    I know that the mailForm requires privileges, but how can I allow these two rights who are unhauthorized?
    Is there something else I can do to be able to use the method "mailForm" without having the "NotAllowedError"?
    Tanks

  • Printing PDF from IE with Adobe Reader - extra white space at top of page

    I searched the forums far and wide but did not find this question or information to answer it.  If it's out there, I'd be much obliged if you'd point me in the right direction.
    A user of the web app for which I do tech support just called to say that starting today, whenever he opened a PDF from our app (in IE), the PDF looks fine on screen but when he prints the PDF, every page has extra blank/white space inserted at the top, which cuts off the bottom inch or two of each page.
    No other users have called with this complaint, and if changes to our app or an automatic background Adobe Reader or IE update caused this problem, I would have heard from many users.  I have a sneaking suspicion I have heard about this from other users, but since troubleshooting their IE or Adobe isn't exactly my job, I don't know if I did any more than advise them to talk to their tech support people. 
    I can't recreate his problem (read: it works fine for me), but I'd like to help him.  Can anyone think of a reason why this might be happening?
    Thanks in advance.

    What I know:  He's using Adobe Reader X.  I do not know if it's the most recent version.  The problem only exists with PDFs from our web app; he's not having trouble with other sites or with other PDFs.
    I do not have a copy of the PDF; I can't give you the copy I downloaded when I logged into his account because there is proprietary confidential information on it, but everything worked fine for me and he's the only user with this complaint, so I believe it's related to his PC or printer, not to our app or to Adobe per se. 
    I sent him email asking for more information, but I do not know what printer he's using.  I don't even know what version of Windows he's running. 
    Based on some info from Adobe, I suggested he make sure he's using the most recent version (10.1.2), try 'print as image" to see if that's any more successful, and make sure his printer drivers are up to date. 
    Given the nature of tech support, if he solves the problem or finds a workaround he's happy with, I may never hear from him again to know.  I just wanted to know if this was a known issue and what recommended resolutions for it might be.  Having not found anything on the web at large, I figured the Adobe forums would be a good place to ask.
    Thanks for the time you took to answer.

  • Print pdf file directly from a folder, Adobe Reader X in  Windows Server 2003

    In previous versions of Adobe Reader we were able to print pdf files groupwise directly when selected in a folder.
    Now I've installed Reader X on the Windows Server 2003 environment. Logged in as administrator I can still select <Print> by selecting the right mouse button in a folder. Logged in as a user, this is not available.
    I checked user-rights and permissions and made sure they have full control.
    Someone who can help us in this matter?
    Thanks

    Thanks for your reply.
    The file menu doesn't show the print option either. We used to work this way, after installing the 9.0 and Reader X version, this option has disappeared from both the File menu and the right mouse button. For other filetypes, for example Excel the Print option is still available and works properly. Logged in as administrator on the serverconsole, there is no problem. So it seams to be something specific to pdf-formats in a server 2003 environment. The userrights are all set on full control (same as administrator).
    Thanks again

  • Cannot print from IE11 with adobe reader 9.4.2

    When we open pdf files within IE11 and try and print, the printer properties box becomes unresponsive.
    we need to crash IE to resolve it, but are unable to print.
    we cannot upgrade Adobe Reader as we have another application which doesn't work with anything higher.
    I saw there was a workaround for adobe acrobat, but we need a fix for reader if possible
    changing the setting in adobe to open the pdf in it's own window is not a solution for us either

    No difference in output using the latest version.
    We are printing to Xerox WorkCentre 7425/7435 printers. When printing from a full version of Adobe Acrobat the advanced button of the Print Driver popup has check options for Marks under Marks and Bleeds while printing from Adobe Reader does not.

  • JavaScript in Adobe Reader app for Android

    How long to get the Adobe Reader app for Android will support JavaScript code? In addition to the password, I need to put the expiration day on my PDFs to close the backdoor.
    Thanks

    Hi,
    Many thanks for getting back to me.  A reset all fields would certainly
    save a great deal of time on forms that are used over and over!
    Something else that I've noticed is the fact that when you flick through
    the pages of .pdf documents, there are sometimes white blank pages.  You
    need to scroll back and forth to get them all to load and sometimes even
    after they have loaded, when you scroll back and forth again other pages
    are blank.
    I am using the latest Samsung Note Pro tablet with 2 x quad core
    processors so I can't blame outdated technology.
    Do you have any ideas as to how to solve this problem?
    Many thanks again for your help.
    Regards
    Paul

  • Quick Printing from Outlook 2010sp1 / Adobe reader X and XI

    Hey all,
    We have a problem with printing multiple PDF attachments from Outlook 2010. When a user wants to print a e-mail with two of more PDF attachments only one attachment gets printed, after that Adobe Reader gives a Error message that the documents cannot be found. I found some "solutions" on the net, but none of them works with the combination of Outlook 2010sp1 and Adobe reader X and XI.
    I hope you guys have a sollutions for this, or help me find one. Also if you need more information please ask!
    Thanks!

    Just a little update:
    When I open a e-mail with multiple PDF attachemts, and then use the normal print function it works. All the attachments are getting printed. But when I use the normal Print function from say the inbox. (same like Quick Print) it doenst work.
    So I guess there is a diffrence in how Outlook sends the Print and Quick Print command (DDE?) to Adobe Reader when the e-mail is open.

  • I'm tryin to transfer PDF from hotmail to adobe reader ?

    How do I transfer my PDF 's in my hotmail account to adobe reader, there's no (open in) button on my iPad 3

    Are you using Safari to view your hotmail, or do you have hotmail configured in your Mail Application? In the case of the mail application, you would need to long press on the attachment. This will present an "open in" menu option. In the case of Safari, if hotmail provides a means of downloading attachments in their Safari web app, you should be able to tap on the attachment. This would download the PDF within safari. Then, tapping on the PDF should show a toolbar that has an "open in" button. Unfortunately, I'm not familiar with the hotmail web interface, so this latter method may not be entirely accurate. The easiest way is probably to configure your Mail application to fetch your hotmail and use the open in method I described for Mail.

Maybe you are looking for

  • Where are my music videos stored???

    Actually, this is about my wife's iPhone...I am completely confused. She has like 60 music videos on her iPhone (from our iTunes library) and I cannot delete them. To be honest, I am not even sure how they are on there in the first place. When I plug

  • Changes in program

    Hi guys, we have one program where we calculate currency conversion rates e.g, BUD 2009,BUD 2010,ACT 2009,ACT 2010,LE1 2009 ....In my program they have code which calculates BUD CY(Budget current year rate),BUD PY(Budget previous year rate), ACT CY(A

  • Edit transition - Not available! (?)

    Check the print screen: Why cant I browse between different transitions in some parts of the project?

  • ESI Days in form 6 and 7

    Hello, I wanted to know in case of LOP in a current month where an employee has been separated with the current organization, what should be the number of ESI days that should be ideally coming in the RT table? e.g. If the employee is separated on 25

  • A message "MSVCR80.dll" cannot be found appears on my screen when I try to open iTunes but I am unable to do so. What can I do?

    A message "MSVCR80.dll" cannot be located to open iTunes. This occurred after I attempted to download a new iTunes update. How do I fix this issue?