Jump to content

Embed AutoIt interpreter into C++ code?


DmitryKa
 Share

Recommended Posts

Is there any way to embed the AutoIt INTERPRETER into my C++ code?

I'd like to have something like

AU3_API void WINAPI AU3_Eval(LPWSTR szAutoItBasicScript);

So, I want to execute an AutoIt script from C++ (this script may be hard-coded into S++ string or read from any file, no matter).

Link to comment
Share on other sites

  • 1 month later...

I would love to have this feature too.

to be more specific, it will be great to have a set of API to control execution of a given script, which will include:

1. execHandle execute(stript string)

To start a script in a separate thread

2. getStatus(execHandle)

To query status of the execution, such as start time, is still running, waiting for UI, etc.

3. stop(execHandle)

force stopping a running script

4. pause(execHandle)/resume(execHandle)

pause and resume

If I can have access to the source code, I would love to help build the feature (at least give it a shot).

Thanks!

Li

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