Jump to content

AutoIt to C++


Recommended Posts

Hi,

I'd like to translate some simple code from AutoIt language to C++. Look here. I mean this one: $oIE.document.parentwindow.eval.

I'm using a web browser control written in C++ from this site. There are many similar functions like Release or Stop. And there is execScript function. It works like Autoit $oIE.document.parentwindow.eval, but it doesn't return any value. So I can execute JavaScript in my C++ program, for example:

alert(some_js_variable + other_js_var * 2);

and I works fine. But I can't get result of expression like this:

some_js_variable + other_js_var * 2;

Is it possible to return value in C++ like AutoIt?

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...