good morning, good afternoon

  • 5 Replies
  • 764 Views
*

Larry

  • Roomba
  • *
  • 7
good morning, good afternoon
« 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.

*

infurl

  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 292
  • Humans will disappoint you.
    • Home Page
Re: good morning, good afternoon
« Reply #1 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.

*

Art

  • At the end of the game, the King and Pawn go into the same box.
  • Global Moderator
  • *******************
  • Prometheus
  • *
  • 4605
Re: good morning, good afternoon
« Reply #2 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.
In the world of AI, it's the thought that counts!

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6202
  • Mostly Harmless
Re: good morning, good afternoon
« Reply #3 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.

*

Larry

  • Roomba
  • *
  • 7
Re: good morning, good afternoon
« Reply #4 on: December 17, 2016, 09:46:47 am »
Thanks,everyone

*

Art

  • At the end of the game, the King and Pawn go into the same box.
  • Global Moderator
  • *******************
  • Prometheus
  • *
  • 4605
Re: good morning, good afternoon
« Reply #5 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
In the world of AI, it's the thought that counts!