Jump to content
Rey94

Trivia autoit

Recommended Posts

Rey94

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?

Share this post


Link to post
Share on other sites
jchd

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 here
RegExp tutorial: enough to get started
PCRE 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)

Share this post


Link to post
Share on other sites
Rey94

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.

Share this post


Link to post
Share on other sites
Rey94

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.

Share this post


Link to post
Share on other sites
water

The Answer to the Ultimate Question of Life, the Universe, and Everything is 42. But what is the question?

Sorry, couldn't resist :)

  • Like 1

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
jchd

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 here
RegExp tutorial: enough to get started
PCRE 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)

Share this post


Link to post
Share on other sites
Rey94

Are you trying to bypass a captcha?

No, no way of doing that.

Share this post


Link to post
Share on other sites
jchd

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 here
RegExp tutorial: enough to get started
PCRE 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)

Share this post


Link to post
Share on other sites
Rey94

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?

Share this post


Link to post
Share on other sites
Rey94

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 married
Click first link and find that the answer is 2"?

Share this post


Link to post
Share on other sites
Rey94

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?

Share this post


Link to post
Share on other sites
water

Maybe wolframalpha is a better place to start.
Example: Albert Einstein


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
JohnOne

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.

Share this post


Link to post
Share on other sites
JohnOne

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×