Jump to content

Websocket, javascript in AutoIT

Recommended Posts



i'm writing some simple bridge between 2 systems to communicate each others (one way only).

Autoit looks to be simple enough for this task but I have reached some point that I might need some advice.

I'm going to need to involve Websockets to AutoIT.

I have this little javascript that uses websockets and sends a string to the listening host. It is working with Firefox.

    var host = "ws://";
    socket = new WebSocket(host); 
    if (socket.readyState === 1)
        socket.send("POST recording/split?channel%3D0");
        console.log("SPLIT SENT")

Can be this done with AutoIT?

All advices appreciated.

Share this post

Link to post
Share on other sites

You can do it mixing AutoIt+IE.





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