Ai Dreams Forum

Member's Experiments & Projects => AI Programming => Topic started by: Larry on December 15, 2016, 09:29:41 am

Title: good morning, good afternoon
Post by: Larry on December 15, 2016, 09:29:41 am
Please help,I am very new at this , but I am wondering if it is possible  to get my bot libre to say good morning in the AM and good afternoon in the PM and maybe even good evening after 6 pm.
One other thing , can you command this bot to open a web page, a app, and shutdown the computer on a verbal command.
Thank you in advance for all of your insight on this matter.
Title: Re: good morning, good afternoon
Post by: infurl on December 15, 2016, 07:46:18 pm
It would be very cool if you could do that, but you would have to know the location of your conversation partner because they could be in any time zone.
Title: Re: good morning, good afternoon
Post by: Art on December 16, 2016, 01:21:54 pm
If you were the only person chatting with it, then it could easily know (be given) your location based on ZIP Code if in the USA, or other Postal Codes if elsewhere in the world.

Hopefully, the wonderful people at Bot Libre can offer some more support for you in this matter.
Title: Re: good morning, good afternoon
Post by: Freddy on December 16, 2016, 07:18:56 pm
Welcome Larry :)

On your question - I doubt you can control your PC directly from a webpage due to security restrictions on browsers.
Title: Re: good morning, good afternoon
Post by: Larry on December 17, 2016, 09:46:47 am
Thanks,everyone
Title: Re: good morning, good afternoon
Post by: Art on December 17, 2016, 03:16:31 pm
There are Plug-ins that can allow other programs to open 3rd party webpages like to obtain Weather for a particular region.

If Hour(now) > 1 And Hour(now) < 20 Then
      If Rnd * 100 < 25 Then
      Set objXMLDoc = CreateObject("Microsoft.XMLDOM")
      objXMLDoc.async = False
      objXMLDoc.load("http://w1.weather.gov/xml/current_obs/KDMW.xml")
      Set oTemperatureWT = objXMLDoc.documentElement.selectSingleNode("temp_f")   
         If oTemperatureWT Is Nothing then      
         GetResponse = GetResponse

--------------------------------------
Never say never. O0