OLE Automation for Acrobat Reader

Hello guys
I have been reading some lines about OLE Automation for Acrobat READER and Full Acrobat.
So far I have seen most saying that Reader is not fully compliant with OLE. I really have zero experience with Adobe and before I buy a full acrobat license, I want to make sure of the following:
What I need to do is the next 4 simple calls:
Connect to Acrobat
Open a pdf file in invisible mode
Perform "Select All"
Copy Selection to clipboard
After that, I will importclipboard to my datawindow and I will be done for my programming task.
Have you had similar experiences about Acrobat OLE for PDF ?
some references are in help.adobe.com/livedocs/acrobat_sdk/10/Acrobat10_HTMLHelp
Thanks so much in advance for any hint.
Regards

Hello again
Chris, thanks so much for your very quick response.
At a first glance, the PDF Toolkit looks good and with a good price too, but I did not see if I can call functionality from PowerBuilder code without opening a user interface. Are you familiar with this ?
Stuart, very nice approach for my need, but I apologize for not explaining clearly what I want.
I just want to process the content of some lines in the file to find specific strings.
As you may see, if you open the file with Adobe Reader or Adobe Acrobat and go to the edit menu, by clicking "Select All" and "Copy" you will get the text ready for pasting.
I want to automate this process to prevent the users from opening the Adobe application.
I'm now testing with the functions provided by Adobe documentation to perform OLE Automation and ALMOST gave me what I need with the following code:
Documentation is found in
http://help.adobe.com/livedocs/acrobat_sdk/10/Acrobat10_HTMLHelp/wwhelp/wwhimpl/js/html/wwhelp.htm?&accessible=true 
// Start Code
boolean lb
oleobject luo_app, luo_file
luo_app = create oleobject
luo_app.connecttonewobject('AcroExch.app')
luo_file = create oleobject
luo_file.connecttonewobject('AcroExch.AvDoc')
luo_file.open('c:\some_file.pdf')
// Next three lines are for visual debugging and confirming that file is opening well during testing of code :=)
luo_file.show()
luo_file.bringtofront()
luo_file.setviewmode(1)
// Next two lines return FALSE, meaning they did not execute because the words "Select All" (or "SelectAll") and "Copy" are not the right words linked to the
// menu items
lb = luo_app.menuitemexecute('Select All')    // Neither "SelectAll"
lb = luo_app.menuitemexecute('Copy')
// End of code
Everything works fine except the two lines. The Adobe application is open and the file shown, but when calling "Select All" and "Copy" in the function menuitemexecute, Adobe does not interpret these phrases.
Just to confirm that menuitemexecute has the right syntax, I tested a call for luo_app.menuitemexecute("find") and this command is well interpreted by Adobe, which immediately opens the find window at the right corner of the file
I hope not to be too dense with this explanation ( but maybe I was )     :=)
Thanks for your feedback

Similar Messages

  • I need the proper settings for Acrobate Reader 9.3 to be backward compatable to open PDF 6.0.

    I have a full license for Adobe Acrobat Professional 9. I just got off the phone with Acrobat technical support about once you install Acrobat Reader 9 to read documents online using Internet Explorer and Firefox. That it would make documents that were scanned in with CapturePerfect3.0 and a Cannon document scanner using Adobe Acrobat Professional 6.0 saved in PDF format and stored as images with records stored with Access Database front-end and SQL Server backend. Simple 6.0 PDF documents stored scanned documents in a database. O.K.! The problem is once you upgrade to read newer version of Acrobat PDF documents that our staff must read online, it makes reading saved database 6.0 PDF documents unreadable. Technical support informs me that it is a settings fix in Acrobat Reader 9 but because the Acrobat Reader 9 is a free download that can't tell me how to fix the settings.
    So here I am trying to find out the proper settings in Acrobat Reader 9 to read new Acrobat documents online and old 6.0 Acrobat PDF documents on Windows XP Pro workstations and one Windows 7 workstation of the CEO's assistant. So please help me with the proper setting for Acrobat Reader 9 to work online reading newer PDF documents and still read Acrobat 6.0 documents stored in a database.

    Adobe Reader 9 can open old and new pdf files.

  • Shared Review End Review, Deadline not working in Acrobat Pro 9 for Acrobat Reader 8 reviewers

    I am testing the features of PDF Shared Reviews on a network server using Acrobat Pro 9 with reviewers using Acrobat Reader 8.1. (All are Windows users.) After initiating the review via the Tracker and having no problem getting the reviewers to comment and publish, I select End Review in the Tracker. Acrobat Pro 9 registers this action and shows that the review has ended in the yellow bar at the top of the PDF and in the Tracker. However, all the reviewers using Acrobat Reader 8 can continue to comment, publish their comments, and the comments continue to show up in the PDF posted in the network folder. That PDF file continues to say, when opened in Acrobat Pro 9 by the initiator, that it is closed for reviewing. The comments published after the review has ended continue to show up. This is true minutes, hours, and days after the review has been ended so is not a synch problem.
    I cannot add comments to this PDF in Acrobat Pro 9 because Acroat Pro registers the end of the review. I can open this file in Acrobat Reader 8 on my computer and continue to add comments. This same problem exists after the deadline set initially has passed. Acrobat Reader 8 users are always able to comment and publish comments when the review should have been ended for them.
    How do I get the reviews to end for Acrobat Reader 8 users?
    Thanks.
    Mary-Nell

    Those users will have to upgrade to Reader 9 to get the deadlines working

  • What I need to write plug-in for Acrobat Reader ?

    Hi There,
    I want to write plugin for Acrobat Reader, that's mean I need visual studio or is enough just to have some c compiler ?
    One more things. I find out I can use a javascript code do hide toolbar menu and menu item and I founded some inforation that is not possible use that way to disable context menu on right click mouse button. Is that correct ?
    Best regards,
    grynien

    Look at the documentation:
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/js/html/wwhel p.htm?&accessible=true
    Look at 'Developing for Adobe Reader' in 'Introduction to SDK'.

  • Cost for Enabling Plug-in for Acrobat Reader

    Hi,
    I read the developer note and noticed if I want to enable my plug-in for Acrobat Reader I need "Visit the Adobe web site and fill out an Adobe Reader Integration Key License Agreement."
    I heard the cost is 100 US dollars per license. I am a bit confuse with it. The cost is $100 for each plug-in no matter how many copies I distributed in company. Or $100 for each computer I want to install my plug-in?

    Hello,
    my question is also related to the integration of our plugin into Acrobat Reader.
    I fulfilled the application form for the Reader Integration Key License Agreement and I sent an email to [email protected] but I received an error that is the email account doesn't exist.
    I didn't manage to find a valid account where I can send the form.
    Thanks in advance for your help.
    Regards.

  • I NEED MULTIPLE SYSTEM LICENSE FOR ACROBAT READER PRO. HOW CAN I BUY. HOW MUCH FOR THAT

    I NEED A MULTIPLE PC LICENSE FOR ACROBAT READER PRO. HOW CAN BUY. HOW MUCH FOR THAT.

    Reader is free. If you want multiple licenses for Acrobat, you have to discuss this with Acrobat. The Adobe Store gives pricing for up to 9 licenses. Volume license require talking to Adobe, not other users.

  • Special Standard printer only for acrobat reader, is this possible? Registry Hack

    In my networking earea are a lot of printers also a big toshiba copying mashine.
    While printing a pdf file to it with an PCL6 printer driver it takes a lot of time to print this.
    When i take a Postscript driver it runs faster ...
    so when my users will print pdf's it is difficult to explain them how to print ... an own standard printer for acrobat reader would solve this problem.
    Does anyone have a solution? is there some registry hack?
    regards 2CV6

    In Windows (don't know if this is the case on Mac) in a corporate environment where you are connected to printers via verbose network paths, you can't see the entire path.  The "printer name" gets truncated.  Since the name of the printer is at the right end of the path, you can't see which printer is which.
    It would be handy if they had a function that allowed you to scroll to the right of the printer list and/or throw up a tool tip that gives the entire path.  I'm surprised this hasn't been flagged as a pretty significant issue.

  • Looking for Acrobat reader for IPhone 3g IOS 3.1.3

    Looking for Acrobat reader on IPHone 3g IOS 3.1.3. No I DONOT want to upgrade IOS. Thanks    

    Moved to Adobe Reader for iOS

  • Medical device licensing for Acrobat Reader

    Adobe states, in EULA for Acrobat reader version 9, the following:
    Quoted
    You will not use any Adobe Runtime on any non-PC device or with any embedded or device version of any operating system. [...Examples...] You may not use it on ... kiosk, medical devices...
    This is the question:
    I need to use Acrobat Reader on a "medical" device that is controlled by a Panel PC with OS Windows XP Professional. This is just a simple controller and has no contact with patients and has no life substainig applications. I don't need to distribute Acorbat Reader with interface software, but, if needed, it must be called from command line (the program is downloaded and installed by final user).
    I don't understand if I need special licensing, since it is installed on a common operating system, not developed for particular applications. Such examples are applicable only when OS is embedded or customized for control devices or this regulation is mandatory also for this kind of application?
    In case I need special licensing, what should I do? Are there any fees?
    Thanks.

    I just received an auto-update for Reader on
    my Droid phone. The new SEARCH function is very much
    appreciated and welcome.
    But, we have a serious security system that we are trying to get
    to run on the Droid and it depends on being able to navigate around
    building floor plans that have embedded links. Reader does not recognize
    that the links are even there.
    All you need to do is add the ability to use embedded links in a PDF
    and we will have a super system.

  • Security fix for Acrobat & Reader 8.1.2

    I just installed the security fix for Acrobat & Reader 8.1.2 from this link:
    http://www.adobe.com/support/security/bulletins/apsb08-15.html
    After the update there is nothing to indicate that it is actually installed.
    Going to Help About both Acrobat & Reader still shows Version 8.1.2 as before.
    Is there a way to tell if the patch is installed?

    My problem is same as Post #2
    I have downloaded the security update and still see AcroRd32.exe as File version 8.1.0.137. I've done this on more than one machine running XP/SP2 with every Windows update applied except SP3. I have deleted Acrobat Reader via Control Panel and then for good measure deleted the sub-directory C:\Program Files\Adobe\Reader 8.0\Reader manually.
    I downloaded again, ran updates until I got "There are no updates available at this time."
    I ran the security update as stated in the posts above(Post #16). This was verified via
    Computer Management > System Tools > Event Viewer
    Product: Adobe Acrobat and Reader 8.1.2 Security Update 1 (KB403742) -- Installation operation completed successfully.
    There are 2 files in C:\Program File\Adobe\Security Update
    HotFix64.exe and RdrSU.mst
    I just don't see where AcroRd32.exe version 8.1.2.215 or whatever is supposed to come from?
    I'm running this as Administrator and on 3 different machines each with the same result.

  • Missing Commenting Toolbar for Acrobat Reader 9.3

    Our company's standard desktop PCs run Acrobat 9.3.4 , Windows XP SPII (still), and IE 8.0
    I have 2 PDF files, with the same Reader Extensions applied to both (commenting). The source of the PDF files was from Autocad (plant drawings). They are produced in exactly the same fashion , and in fact were generated within minutes of each other using an automated process.
    What I am trying to say is that , from a PDF data structure point of view, these files are the same.
    The PDF files are put on a web browser  and users can access and open them in Internet Explorer within our intranet.
    I know that Reader Extensions works for both because when these PDFs are opened up on user's desktop PC  that only has Acrobat Reader in Internet Explorer we dynamically add annotations (using the Javascript API) to the PDF file as well as support other Reader Extension features such as spawning templates.
    Here is the problem.
    One PDF file has the commenting and markup toolbar when opened.
    The other PDF file does not.
    And when I right click on the one that does not Commenting and Markup is NOT an option. I cannot find a way to enable this.
    This is now a major problem for us as we would like to support adding comments to these PDF files.
    I cannot fathom what the difference is that would trigger Acrobat to suppress/ show the toolbar for one file and not the other.
    So I have 2 questions.
    1. What stops Acrobat from showing the commenting toolbar?
    2. Is there some way through the Javascript API that I can force the commenting toolbar on for the PDF file that does not have it?
    Your help would be greatly appreciated.

    We have found an answer.
    I still do not know why there is inconsistent behaviour, but if we execute the following Javascript (we are putting it in the /After section), it enables commenting
    Collab.showAnnotToolsWhenNoCollab = true

  • Example of ActiveX Control for Acrobat Reader

    Is there example for using ActiveX automation control to launch & navigate
    Acrobat Reader?
    Thanks.
    Jin

    Hi Jin
    I have been trying to do this with LabWindows also but the ActiveX Controller made by LabWindows does not seem to work. It works fine from within LabVIEW but this is not much use to me in the long run.
    IF you get this working please inform me
    [email protected]
    thanks and good luck

  • Shared review not working for Acrobat Reader

    I can not believe have not been able to find an anwer to this, sorry if it has been asked before.
    I am trying to setup shared review with clients running Acrobat Standard XI and Acrobat Reader XI, I am currently using a Sharepoint server for the review server if it matters.
    When I send a shared review from Acrobat Standard XI to a user on Acrobat Reader XI, the user is unable to make shared review comments.  The shared review will work when sent to other Standard or Pro XI users.  Any ideas?  I have been looking at this for sometime now, and know the user has full rights to the Sharepoint server.  Is there some setting I am missing in Reader?
    Thank you
    Update:
    I may be finding my own question, but really can not verify.  Must you have Acrobat Pro for shared review to work with Reader?  (I only have standard for pc)

    Priyanja, your statement is ture.  Reviews initiated with Acrobat Standard can only be participated through Acrobat Pro or Standard.  However, this is NOT by design.  It is a bug.  The Adobe website makes this very clear.  The site is:       http://www.adobe.com/products/acrobat/shared-pdf-document-reviews.html
    Gather feedback faster than ever
    "Send a document out for shared review to collect comments in one place. Anyone with free Adobe Reader 9 software or later can see and build on each other’s feedback, saving time with fewer emails and meetings."
    "How to set up a shared document review:"
    [... instructions ...]
    "Available in:"
    Acrobat XI Pro
    Acrobat XI Standard

  • Where can I find the reference for modifying registry key for acrobat reader

    I am a Web Developer and I need to limit the option the user may choose in acrobat reader plugin.
    I doubt if there is option to configure in Windows Registry on HKCU\Software\Adobe\Acrobat Reader\9.0\PrefsDialog.
    Anyone know where I can find the reference for those registry key?
    I have downloaded sdk91_v2_win.zip file but I cannot find any reference.

    Refer to this:
    Direct Download Links for Adobe Software
    Mylenium

  • OLE Automation for Word. EditGoto with Word 97

    I found a solution. Instead EditGoto, use WW7_EditGoto.
    Example:
    .- A Word Template whith two bookmarks
    (Texto1, Tabla1). A normal bookmark
    (Texto1) and a bookmark into a Word
    Table (Tabla1).
    In the Word Table, is posible change
    cell o create a new row with the same
    command (NextCell).
    The word table has two columns an two
    rows.
    The first row is the Header.
    The second row the first column contain
    a bookmark (Tabla1).
    .- A Form whit two blocks:
    First block with two items:
    nombre_doc
    texto1
    Secod Block (multirecord) whit two items
    col1
    col2
    with a When-Button-Pressed:
    DECLARE
    application OLE2.OBJ_TYPE;
    args OLE2.LIST_TYPE;
    BEGIN
    -- Start WordBasic and make Word visible
    application:=OLE2.CREATE_OBJ('Word.Basic');
    OLE2.INVOKE(application, 'AppShow');
    -- Open a Word document
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args,'Plantilla.dot');
    OLE2.INVOKE(application, 'FileOpen', args);
    OLE2.DESTROY_ARGLIST(args);
    -- Put Text in the first bookmark
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args,'Texto1');
    OLE2.INVOKE(application, 'WW7_EditGoto', args);
    OLE2.DESTROY_ARGLIST(args);
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args,:Texto1);
    OLE2.INVOKE(application, 'Insert', args);
    OLE2.DESTROY_ARGLIST(args);
    -- Send data from Multirecord Block to Word Table
    GO_BLOCK('MULTI');
    FIRST_RECORD;
    IF :SYSTEM.RECORD_STATUS != 'NEW' THEN
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args,'Tabla1');
    OLE2.INVOKE(application, 'WW7_EditGoto', args);
    OLE2.DESTROY_ARGLIST(args);
    LOOP
    IF :col1 IS NOT NULL THEN
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args,:col1);
    OLE2.INVOKE(application, 'Insert', args);
    OLE2.DESTROY_ARGLIST(args);
    END IF;
    OLE2.INVOKE(application, 'NextCell');
    IF :col2 IS NOT NULL THEN
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args,:col2);
    OLE2.INVOKE(application, 'Insert', args);
    OLE2.DESTROY_ARGLIST(args);
    END IF;
    EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE';
    NEXT_RECORD;
    OLE2.INVOKE(application, 'NextCell');
    END LOOP;
    -- Save a Word document
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args,:nombre_doc);
    OLE2.INVOKE(application, 'FileSaveas', args);
    OLE2.DESTROY_ARGLIST(args);
    --Release the OLE object
    OLE2.RELEASE_OBJ(application);
    END;
    Sorry by the sintax, but i don't speak English.
    I hope it solves this problem.

    Hello,
    I am also trying to use the OLE2 package for OLE Automation. But
    difference being that I am not using Word but am using an
    invisible control for Mail services, using the objects
    MAPISession, MAPImessages. If anyone out there had already done
    this do please give me a code snippet.
    Thanx in advance
    Anup Mistry,
    Programmer/Analyst,
    IIS,Inc
    Vasile (guest) wrote:
    : Hi Daniel,
    : I used OLE with forms 5 ,but now it work without problems in
    : forms 6, too.
    : A procedure that save doc. look like that:
    : procedure filesaveas (fname in varchar2) is
    : arglist ole2.list_type;
    : begin
    : arglist := ole2.create_arglist;
    : ole2.add_arg (arglist, fname);
    : ole2.invoke (obj_hnd, 'filesaveas', arglist);
    : ole2.destroy_arglist (arglist);
    : end;
    : I hope this help you.
    : Vasile
    : Daniel Fox (guest) wrote:
    : : I am using Forms 6.0
    : : Can anyone help with OLE automation using OLE2.
    : : I can open Word, document stored in long raw, even insert
    data
    : : from other form field into the Word Document (only at the
    : : beginning of the Document, though).
    : : All the File commands, such as FileSaveAs, EditGoTo, etc..
    : don't
    : : work. They are simply ignored - no error messages, nothing.
    : : Does anyone use Word Automation through Forms 6.0?
    : : Please, HELP....
    : : Thanks in advance,
    : : Desperate Daniel.
    null

Maybe you are looking for

  • Encrypted drive will not accept password when re-mounting via Disk Utility

    I have used the 'whole disk encryption' on one of my external HDDs.  Sometimes i eject the drive when i don't need it because it's in a 4bay housing along with 3 other drives.  I do this because OSX wakes up all my drives even for mundane tasks like

  • Internal error publishing Crystal report to BOE 3.1

    Trying to add a Crystal report to a BOE 3.1 server, via a JSP page, but it keeps failing with an internal error.  Currently I am using code that came directly from a published example, but the jsp always fails when it gets to the boInfoStore.commit.

  • Need help on File uploading in JSF

    Hi All, i have to upload some document into IBM DB2 Content Management using JSF Portlet. Is it possible to upload a document( in my case it is an image) using JSF Portlet into IBM DB2 Content Management? and also i need to keep the reference of the

  • HT4356 Why is printer not print from pc but prints from ipad?

    PRinter will print from iPad but not from pc why? Printer 8600 plus

  • Distiller 8 Error

    I have a .ps file that works perfectly fine in acrobat distiller 7 on Mac and Windows. When i try and take that same .ps file and distill it in Acrobat distiller 8 Mac and Windows it errors out. Any help appreciated. on windows the fix is adding /F t