Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
rjprasadch@adobeforums.com #1
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
-
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... -
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; ... -
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... -
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... -
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... -
PDL@adobeforums.com #2
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
-
rjprasadch@adobeforums.com #3
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
-
PDL@adobeforums.com #4
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
-
rjprasadch@adobeforums.com #5
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
-
ThomasEBaker@adobeforums.com #6
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



Reply With Quote

