How to access the content of notepad with Python?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kepioo

    #1

    How to access the content of notepad with Python?

    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!

  • placid

    #2
    Re: How to access the content of notepad with Python?


    kepioo wrote:[color=blue]
    > 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.
    >[/color]

    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!

    Comment

    • Ravi Teja

      #3
      Re: How to access the content of notepad with Python?

      > I have a software running on my computer that really looks like notepad[color=blue]
      > ( 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?[/color]


      The example on their home page is in fact how to automate Notepad. I am
      sure you can work from there.

      Comment

      Working...