Jump to content

Hey guys, I need to write program that runs other programs :D


Recommended Posts

I know, not the most precise title, first post newbie here am so glad i found this community though :D

Basically i am new to autoit but already dled some books and watched some youtube guides on the basics. However i am still to encounter project where u write a code that runs programs. I need to write a code that will restart certain applications when itnernet goes off, turn some features on, check if after those features i got resault a or b and perform additional actions (basically just press buttons on the program). Is autoit capable of reading graphical interface from the screen ? I read u can read text alredy but can it recognize buttons and so on from a third party program  ? I figured like do i take screenshot and make the picture of the button as readable parameter for the program, or it can recognize text on a button as well ?

If so do let me know where should i begin, i am really looking forward to learning this awesome language and being part of this community :D

Just pls no "thread is too general, need specifics questions" i am just looking a point in the right direction it's all, i will pick stuff up myself along the way :D

Link to comment
Share on other sites

Use the AutoIt Window Info Tool that comes with Autoit to retrieve information about the Controls of your GUIs, then use the Control* functions (as mentioned by J1) to automate the programs.

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

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...