Variable State Saver icon Variable State Saver Persist and auto-load specified global variables between ARC sessions for consistent, personalized robot behavior and quick state restoration. Try it →
Asked — Edited

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

With ARC Pro, your robot is not just a machine; it's your creative partner in the journey of technological exploration.

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.