How to access the content of notepad with Python?

Discussion in 'Python' started by kepioo, Jun 1, 2006.

  1. kepioo

    kepioo Guest

    Hi,

    I have a software running on my computer that really looks like notepad
    ( same interface, different name). I need to write a script that will
    capture the content of this software --> the text written inside.

    Is it possible using win32 libs? any clue?

    Thanks!
    kepioo, Jun 1, 2006
    #1
    1. Advertising

  2. kepioo

    placid Guest

    kepioo wrote:
    > Hi,
    >
    > I have a software running on my computer that really looks like notepad
    > ( same interface, different name). I need to write a script that will
    > capture the content of this software --> the text written inside.
    >


    Dont know about win32, but if you want an easy solution then save the
    text you want to capture and then read it via Python!
    placid, Jun 1, 2006
    #2
    1. Advertising

  3. kepioo

    Ravi Teja Guest

    > I have a software running on my computer that really looks like notepad
    > ( same interface, different name). I need to write a script that will
    > capture the content of this software --> the text written inside.
    >
    > Is it possible using win32 libs? any clue?


    http://www.openqa.org/pywinauto/
    The example on their home page is in fact how to automate Notepad. I am
    sure you can work from there.
    Ravi Teja, Jun 1, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JDS
    Replies:
    4
    Views:
    8,210
    ForestHonerkamp
    Nov 11, 2008
  2. Tim S.

    Call Notepad from aspx

    Tim S., Jul 14, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    864
    Troy Murphy
    Jul 14, 2003
  3. Steve C. Orr, MCSD

    Re: Call Notepad from aspx

    Steve C. Orr, MCSD, Jul 14, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    1,762
    Yan-Hong Huang[MSFT]
    Jul 16, 2003
  4. hazz
    Replies:
    6
    Views:
    49,380
    SkyUCHC
    Jun 9, 2010
  5. James Harris
    Replies:
    7
    Views:
    1,244
    James Harris
    Mar 27, 2010
Loading...

Share This Page