Rey94 Posted June 21, 2015 Share Posted June 21, 2015 I've seen some pretty nice topics about autoit searching for some answers over the interwebs.The script had to do this:On the middle of the screen it appears a question, and the script should search and andswer the question on the top of the screen within seconds and give the correct answer. Any ideea how to do this? How to make the script and make it run while you get questions? Link to comment Share on other sites More sharing options...
JohnOne Posted June 21, 2015 Share Posted June 21, 2015 Big ask for a first post, have you tried anything?At least link us to these "some pretty nice topics about autoit searching for some answers over the interwebs." AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
jchd Posted June 21, 2015 Share Posted June 21, 2015 Are you trying to bypass a captcha? This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
Rey94 Posted June 21, 2015 Author Share Posted June 21, 2015 Big ask for a first post, have you tried anything?At least link us to these "some pretty nice topics about autoit searching for some answers over the interwebs."I read some articles at a friend, so no, I can't link you unless I will recover the data. But I will in a couple of days. First post, maybe. But not new to scripting languages or programming. Link to comment Share on other sites More sharing options...
Rey94 Posted June 21, 2015 Author Share Posted June 21, 2015 I know it's tough, but I promise I will come by friday with some answers.I was interested how could you make this in autoit3 to actually search for the answers. Had some old C# dll that did that, but you had to run it every time again and again. Link to comment Share on other sites More sharing options...
JohnOne Posted June 21, 2015 Share Posted June 21, 2015 Answers to what, and from where?Your question is a little vague you see. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
water Posted June 21, 2015 Share Posted June 21, 2015 The Answer to the Ultimate Question of Life, the Universe, and Everything is 42. But what is the question?Sorry, couldn't resist 232showtime 1 My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
jchd Posted June 21, 2015 Share Posted June 21, 2015 We're told that the question will be release next Friday, from what I gathered. Can't hold my breath until then. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
Rey94 Posted June 21, 2015 Author Share Posted June 21, 2015 Are you trying to bypass a captcha?No, no way of doing that. Link to comment Share on other sites More sharing options...
jchd Posted June 21, 2015 Share Posted June 21, 2015 OK then can you please explain a little bit more concretely what exactly you're after? Which kind of question in the middle of which screen? Is that for a game and then which one? This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
Rey94 Posted June 21, 2015 Author Share Posted June 21, 2015 Let me rephrase. I read on a forum (it was a nice topic, but NO, I do not know where to find it again) some very nice ways of scripting (using autoit). One that cought my attention was a topic where they described how to actually make a script to do this:A question appears on the screen, and the script would answer to the question. And this seems amazing to me. Even if I am not new to programming, I have a hard time to understand how would you possibly do this with autoscript.Example of how it should work:"What is the capital of Spain?Madrid""How many times was Einstein married?2" Is it actually possible to do this? Or was it just a scam or someone made fun of all? Link to comment Share on other sites More sharing options...
JohnOne Posted June 21, 2015 Share Posted June 21, 2015 It'd be quite simple in the scheme of things, provided you have a list of questions and answers, either locally or on the web. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Rey94 Posted June 21, 2015 Author Share Posted June 21, 2015 It'd be quite simple in the scheme of things, provided you have a list of questions and answers, either locally or on the web.Considering that there is a pool of tens of questions, without knowing the answers, is it possible to actually do something like a human would do?"Open a browser.search: how many times was Einstein marriedClick first link and find that the answer is 2"? Link to comment Share on other sites More sharing options...
JohnOne Posted June 21, 2015 Share Posted June 21, 2015 Of course it's possible, but really really difficult.But dragging the fist answer from google is really really simple. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Rey94 Posted June 21, 2015 Author Share Posted June 21, 2015 https://www.google.com/search?q=how+many+wives+did+einstein+have%3F&ie=utf-8&oe=utf-8Using the question mentioned before (regarding Einstein), the answer is on the second result provided by google. Link to comment Share on other sites More sharing options...
JohnOne Posted June 21, 2015 Share Posted June 21, 2015 That's a lovely story, but what if it's on the first or third, fourth fifth or not al all? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Rey94 Posted June 21, 2015 Author Share Posted June 21, 2015 Indeed. This is the biggest problem, but even so, it would need something like artificial neural networks to find out what's the link with the highest probability to own the answer...But considering that there is an answer and google gives it in the first link, you say it's an eaaaasy job to do? Link to comment Share on other sites More sharing options...
water Posted June 21, 2015 Share Posted June 21, 2015 Maybe wolframalpha is a better place to start.Example: Albert Einstein My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
JohnOne Posted June 21, 2015 Share Posted June 21, 2015 Yes.Seeing as how you're "not new to scripting languages or programming" you should have that done within the hour.Take a look at the Inet* functions in help file or WinHttp udf in example scripts, or even the standard _IE functions in help file to get you started. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
JohnOne Posted June 21, 2015 Share Posted June 21, 2015 Yes.Seeing as how you're "not new to scripting languages or programming" you should have that done within the hour.Take a look at the Inet* functions in help file or WinHttp udf in example scripts, or even the standard _IE functions in help file to get you started. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
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