Compare PDF: How to simulate ENTER Keyprogrammatically to suppress the dialog box.

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default Compare PDF: How to simulate ENTER Keyprogrammatically to suppress the dialog box.

    Hi,

    We are using Acrobat 8.0. Using Visual Basic, we are opening two PDF files in Acrobat 8.0 professional.We are comparing those two documents using MenuitemExecute(DIGSIG:CompareDocuments ) command and generating the side by side comparison file programatically.

    During this process after executing the command "MenuitemExecute(DIGSIG:CompareDocuments )" adobe is displaying "Compare Documents" dialog box where the user need to click OK on it in order to continue with the comparison.

    My requirement is to suppress the dialog box and automate the process. Our application is developed in Visual basic.

    Could you please let me know how to suppress the dialog box using Visual basic. Is it possible using VB or any alternatives for this. Because we need to compare many PDF documents so clicking OK every time requires user intervention.

    Thanks for your help in advance.
    rjprasadch@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Suppress printing of links in a pdf
      Is it possible to make regions/specific text of a pdf page invisible when it prints out? I have a document with links to different pages but I don't...
    2. Suppress the DB warnings
      Hi there, Using DBI in my Programm, i get all the warnings on the screen (which is not desired) , though i have set $dbh->{PrintError} = 0; ...
    3. Simulate Download
      When I simulate download, my movie acts completely different than in just normal test mode, or in a web browser. I am using multiple movies with a...
    4. Suppress login dialog when impersonation on?
      Does anyone know how I can suppress the "Enter Network Password" dialog when attempting to enumerate directories and/or files in ASP.NET? I want...
    5. How to Suppress the File Download Dialog Box
      I have made a GPO in Active Directory that runs a exe file at logon. Works fine but i get a Download Dialog Box first......:-( How do i Suppress...
  3. #2

    Default Re: Compare PDF: How to simulate ENTER Keyprogrammatically to suppress the dialog box.

    I believe you can use an AVCommand in a plug-in to automate this feature.

    In VB.NET you can of course use "SendKeys" (nothing specific to Acrobat, this is very basic VB.NET) but in a production environment this will end up causing more problems than it fixes in the long run.
    PDL@adobeforums.com Guest

  4. #3

    Default Re: Compare PDF: How to simulate ENTER Keyprogrammatically to suppress the dialog box.

    Thanks for the reply, PDL. As our application is developed in Visual basic, can we use AVCommand in VB to click OK Button on the Compare documents dialog box displayed by Acrobat. As i am new to this environment, can you please share me if you have any additional info with example to use the AVCommand to simulate ENTER key.

    Also can you please let me know whether is it possible to click the OK Button on the Compare dialog box displayed by Acrobat through VB using sendkeys.

    which approach do you suggest?

    Thanks for your help.
    rjprasadch@adobeforums.com Guest

  5. #4

    Default Re: Compare PDF: How to simulate ENTER Keyprogrammatically to suppress the dialog box.

    I did not say that AVCommand simulates pressing enter - it is used to automated methods by pre-filling options and not showing the dialogs. Please read the documentation on the AVCommand methods.

    You should also note that I said AVCommand is only available to plug-ins, which means it will not work with a VB.NET application.

    SendKeys is a basic VB.NET command, it is not part of the Acrobat SDK in any way. Here is Microsoft's documentation on SendKeys. Again I will state that using this method is NOT a good idea for a production environment.

    <http://msdn.microsoft.com/en-us/library/8c6yea83(VS.85).aspx>
    PDL@adobeforums.com Guest

  6. #5

    Default Re: Compare PDF: How to simulate ENTER Keyprogrammatically to suppress the dialog box.

    Thank you very much for the reply PDL.
    rjprasadch@adobeforums.com Guest

  7. #6

    Default Re: Compare PDF: How to simulate ENTER Keyprogrammatically to suppress the dialog box.

    rjprasadch,

    Can you tell us did you implement a solution to dismiss the compare dialog? can you share the code?
    ThomasEBaker@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139