Jump to content

Trivia autoit


Recommended Posts

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

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)

Link to comment
Share on other sites

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

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

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

Sorry, couldn't resist :)

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.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 (NEW 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

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)

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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

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"?

Link to comment
Share on other sites

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

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

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.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 (NEW 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

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...