Jump to content

Read docx and copy to clipboard


 Share

Recommended Posts

Hi,

 

i want to copy a text from a word doc to clipboard and later inside another doc

exampe with txt files:

 

            $DateiOeffnen = FileOpen ("Text2.txt")
            Sleep(100)
            $copy = FileRead($DateiOeffnen)
            Sleep(100)
            ClipPut($copy)
            Sleep(100)
            Send ("^{v}")

 

if i change the file to "Test.docx" there is no copy of the text inside the docx.

 

How can i read the word file correctly?

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...