powershell - Building an automated script to copy a page of text, translate it in Google Translator and paste it in Word -


So, as the title says, I would like to create an automated script which will take all the text from a PDF page, it Copy, paste it into Google Translate and then copy the translated text to another Microsoft Word document.

Since there are so many pages in the PDF (150+), I thought it might be easy to do this, to do this, an automated script.

Which language do I have to use, is it necessary for me to do this and in the end, will I actually save time by using this script (which means that I have to know it first For, but I have some programming experience (I know C ++, Javascript, PHP), but I do not have a strong understanding of algorithms (like Flood Phil, ...))

Thanks In advance!

EDIT: I have found that I can use autight for scripting ... but I do not know if I would prefer to use AutoIt or PowerShell ... I also want to learn something Enable me to create other scripts (for example, to automate some process, do I do it in Cmatia Studios) ... then, automatic or powerhole?

As an ottote user, I will call AutoIt.

Copying PDF text is not as simple as you can think. Based on how PDF was created, the mileage will vary, and you can use it in many ways:

  • Most PDFs will contain most text of the file, so that you can use text The simple method such as
  • uses zlib to do something in PDF is not sure that I have never tried to tighten it.
  • There are several instances of using third party programs to do this, which can be better, another is
  • automating other programs like Acrobat, Acrobat case They have an API in which can be used, although I do not know that it is already being wrapped in AutoIt.

    According to the rest of the requirements, there is an UDF for translation with Google Translate, and the term UDF is a standard that comes with automatic installation.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -