By along
Because I am not good at English, I often read foreign English.ProgramWhen you encounter a word in some sentences on the website, the meaning of the sentence will not be completely understood. Copy it to the translation tool for translation. If you perform frequent operations, it will be too troublesome, however, I do not want to use Google's full-text automatic translation, because full-text translation will not only disruptArticleLayout, and there are some sections that we do not need to translate, he will also automatically translate, for exampleCodeAnd this is not conducive to our English learning.
If there is a tool that can directly translate the desired English segment and the operation is not too troublesome, it would be nice, so it took me a long time to write this tool.
Operation Method:
When enabling quick translation, select the text to be translated, and then pressF2Direct key Translation
Tool principle:
1. UseHttpwebrequestSimulate data requests to get Google Translate built-in multilingual Switch
2. hook F2 shortcut action, select the text to be translated. When you press F2, a copy (CTRL + C) will be sent to the handle where the mouse is currently obtained) the clipboard will get the selected text information. After reading the text information, the clipboard will send an httpwebrequest request to Google to get the translated text and then display it in a window that opens.
Example diagram:
.
File Download:
Quick translation version 1.1 Beta(It is a simple tool with the principle above. The source file is not provided, do not disturb)