CaptainSparky Posted June 12, 2015 Posted June 12, 2015 (edited) Hello.I am working in an chatbot script, which has a GUI and can interact by words. I need to know how can I make the bot extract answers from Google or Wikipedia (if possible) and output them into an edit box. For example: When I type "what is Autoit" the bot should return: "AutoIt /ɔːtoʊ ɪt/ is a freeware automation language for Microsoft Windows." Any ideas? Thanks in advance. Edited June 12, 2015 by TheNewHunter Clarification. Hello. If in someway I have helped, please consider liking my post(s). The formula for the right answer: You + Right Question = Answer (Think) BEFORE you post.
Moderators JLogan3o13 Posted June 12, 2015 Moderators Posted June 12, 2015 Yes, same thing that is becoming the standard in your posts - what have you tried on your own?You are still new, so you get the obligatory:Welcome to the forum. Please realize this forum is dedicated to helping people improve their scripts. It is not a forum where you put in a request and someone barfs up code for you. Your first post in any thread should be a detailed summary of the issue you're facing, what you've tried, what searching you've done on the forum, and your code (even if it isn't working as you would like it to). Help us help you "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
CaptainSparky Posted June 12, 2015 Author Posted June 12, 2015 Okay sorry. Hello. If in someway I have helped, please consider liking my post(s). The formula for the right answer: You + Right Question = Answer (Think) BEFORE you post.
Moderators JLogan3o13 Posted June 13, 2015 Moderators Posted June 13, 2015 (edited) As you didn't explain just what you're trying to do, I assume you are looking for general suggestions. So I give you one that I wrote for a helpdesk person that was continually asking me questions without searching for himself: $input = InputBox( "Every answer to every question - Ever", "Please enter type in your question." ) ShellExecute ("http://www.lmgtfy.com/?q=" &$input) Edited June 15, 2015 by JLogan3o13 Danp2, mLipok, CarlD and 1 other 4 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
CarlD Posted June 15, 2015 Posted June 15, 2015 As you didn't explain just what you're trying to do, I assume you are looking for generalize suggestions. So I give you one that I wrote for a helpdesk person that was continually asking me questions without searching for himself: $input = InputBox( "Every answer to every question - Ever", "Please enter type in your question." ) ShellExecute ("http://www.lmgtfy.com/?q=" &$input) I don't only "like" it, I LOVE (Auto)IT! CaptainSparky 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now