Jump to content

Recommended Posts

Posted

Hello,

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.

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

Can be this done with AutoIT?

All advices appreciated.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...