SPONSORS:






User Tag List

Results 1 to 4 of 4

Thread: Adobe .PFD file

  1. #1
    Junior Member
    Join Date
    Jul 2000
    Location
    Mountain View, CA, USA
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Adobe .PFD file

    Friends,

    I have to verify the (content) text inside a .PDF file. The .PDF file is displayed inside an IE Browser. I am using Silk 5.0.3. Could you please provide info on how to get to the text on the .PDF doc.

    Thank you so much,
    thida

  2. #2
    Junior Member
    Join Date
    Oct 1999
    Location
    Germany
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Adobe .PFD file


    ... maybe its not the easiest or best way but you could (assuming use of acroread4 and that pdf was meant):
    - make a window declaration for the acrobat reader
    - start acroread with name of your .pdf file as parameter ('acrord32 xyz.pdf')
    (you get the file from ie cache directory or via SaveAs-option)
    - go to a special page on the acrobat reader (this is possible by reading the '1 of 80' textfield in the bottom and use the buttons left/right of the textfield, silktest recognizes them)
    - set the input focus to the pdf window (simply click somewhere inside)
    - select the menu item for 'select all'
    - select the menu item for 'copy'
    (don't forget to check if menu item is enabled)
    - then you have the actual page in the clipboard. And from there you can get the clipboard contents by using
    'Clipboard.GetText()'
    have fun ....



  3. #3
    Junior Member
    Join Date
    Jul 2000
    Location
    Mountain View, CA, USA
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Adobe .PFD file

    Bjoern,

    Thank you so much for your quick response. I will try this out and will let you know the outcome.

    once again, thank you.

  4. #4
    AJ
    AJ is offline
    Moderator AJ's Avatar
    Join Date
    Jun 1999
    Location
    San Jose, CA
    Posts
    1,691
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Adobe .PFD file

    Taken from silktest@egroups.com

    Reply by John Green:

    Thida,

    Silk apparently doesn't recognize the objects on the page. It also doesn't
    appear to let you copy the contents. You could view the .pdf file in
    another view that would let you copy to the clipboard. Then you can use
    Clipbard.GetContents () to retrieve, then verify that the text is correct.
    It really doesn't tell you that its working in the Browser, however. You
    may need some manual verification of the .pdf file as it appears in the
    browser.

    John
    AJ Alhait
    BetaSoft Inc.

 

 

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:05 AM.

Copyright BetaSoft Inc.