Jump to content
Sign in to follow this  
lsgit

Listener tool for software controls

Recommended Posts

Hello,

as a total beginner, I was wondering, if I could achieve my goal with a small AutoIt script.

I am working as a trainer for a special Windows software. In this situation I individually go through the software and explain features, workflows, and so on.
To have a bit of assistance, I really would like to have something like the "presenter mode" in PowerPoint. This is a feature, where the presenter has his notes on one screen, which is not visible for the audience and the presentation on e.g. the beamer.

As I do not want to show prebuild slides, I cannot use PowerPoint.

Now I remembered AutoIt, which I used a couple of years ago for another purpose and played around a bit. Trying out the tool AutoIt v3 Window Info brought me to the idea to check, if AutoIt could help me for my target. So by using this tool I was able to read out the necessary information to press a button in the software using ControlClick().

Now I want to create a small application, which runs in the background and prints out corresponding information in an extra window, as soon as a button in the software is hovered / clicked.

Therefore I would create a database with the control's ClassnameNN and a short description.

Would that be possible?
Also nice would be a possibility to loop through a window's controls and add them to the database.

 

Can anybody help me to find a good start?

 

Thanks in advance.

Reagrds

Lars

Share this post


Link to post
Share on other sites

Maybe this thread gives you an idea?

 


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2020-10-10 - Version 1.5.2.1) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2020-06-30 - Version 1.6.2.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (NEW 2020-06-27 - Version 1.3.2.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Task Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki, WebDriver - Wiki

 

Share this post


Link to post
Share on other sites

Thanks, this thread looks pretty interesting, but how can I change this to an external GUI and not to one generated by AutoIt in the same application?

Share this post


Link to post
Share on other sites

faq 31 is a good start with some reference to spying tools when you hover over controls.

As you say you are a beginner expect a huge learning curve.

The simplespy from UIA thread can be a good start just as controlviewer (use search to find the related threads)

some other areas to read https://www.autoitscript.com/autoit3/docs/functions/WinList.htm

 

Share this post


Link to post
Share on other sites

The following thread looks promising too (couldn't test as I'm not at my Windows machine at the moment).
I found a lot more by searching for "control under mouse" and setting search options "Find results in ..." to "Content titles only".

 


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2020-10-10 - Version 1.5.2.1) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2020-06-30 - Version 1.6.2.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (NEW 2020-06-27 - Version 1.3.2.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Task Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki, WebDriver - Wiki

 

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...