Jump to content
Sign in to follow this  

Help translating from Cambridge,can it be faster?

Recommended Posts


Hello guys,so i made this code to auto translate from English to Arabic,it translates the word "apple" and displays the translations in a message box, the speed of translation is normal. is there a way to get the same results with higher speed?. and "iexplorer.exe" doesn't close why?

and i get this warning

--> IE.au3 T3.0-1 Warning from function _IECreate,  (Foreground Window Unlock Failed!)

#include <IE.au3>

$oIE = _IECreate("http://dictionary.cambridge.org/dictionary/english-arabic/",0,0)
$oSb = _IEGetObjByName($oIE, "q")
_IEFormElementSetValue($oSb, "apple")
Local $button = _IEGetObjById ($oIE, "cdo-search-button-submit")
_IEAction($button, "click")
$divs = _IETagNameGetCollection($oIE, "div")
For $div In $divs
    If $div.className == "trans" Then
        MsgBox(0, "Bestimmter Inhalt", $div.innerText)
Edited by mohamad

Share this post

Link to post
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

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.