Websocket Client icon Websocket Client — WebSocket client for ARC: open/send messages, store server responses in a variable, run a response script, and track connection status. Try it →
Asked — Edited
1 Participant

Another Piece Of Code.

Awhile ago I said I would try to get the SDK to be able to google stuff via voice command, someone said that would be great so here it is! I don't have a mic to currently use but I've coded a one-button hard-coded search for a 'concept' to prove it's doable.

As a note I'll move further examples of random things I come up with into the C# forum. I wanted to put this here for the member who said he wanted to google stuff:)

I hacked the Tutorial 12 further (I don't know how to use the designer in C# so I just deleted some stuff, left one button and showed the 'log' textbox).

Relevant code:

https://pastebin.com/awPEJMx8

Thanks @Rich it's prettier this way anyhow:)

It takes an awfully long time though, and I just hard coded it to show the top 4 results.

here:

https://www.screenr.com/hDkH

and attached is the reference dll required for the JSON stuff.

Might want this:

https://developers.google.com/web-search/docs/#fonje


ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#1  

Use pastebin or similar and link to the raw code to avoid the forum formatting from breaking code.