Rolfi Posted October 27, 2018 Posted October 27, 2018 Hi, as a newbie I am looking for a tutorial how to control a windows10 program with an AutoIt script. Just how to open menues in the program, click on items or write something into boxes. I tried several "tutorials", but could not find what I am looking for. Are there any examples? Sorry for that easy question.
FrancescoDiMuro Posted October 27, 2018 Posted October 27, 2018 (edited) Hi @Rolfi, and welcome to the AutoIt Forums AutoIt has been conceived to automate such things, so, it depends only from what you are trying to automate. There are "native" functions like Win* and Control*, which help you manage windows and controls ( you can see the information required through the AutoItWindowInfoTool ). So, if you could tell us what you trying to automate and you have already some code to show, then post it Edited October 27, 2018 by FrancescoDiMuro Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
Rolfi Posted October 27, 2018 Author Posted October 27, 2018 Hi @FrancescoDiMuro, thanks for answering! I can open a program like notepad via Run(), but do not understand how to "click" on a certain item in a window or in a menue. With AutoItWindowInfoTool I can find several properties of a certain window. I am afraid I do not understand neither concept nor syntax of "controls" due to a lack of examples. Therefore I am looking for an elaborate example how to imitate what I would do with keyboard strokes or mouse.
FrancescoDiMuro Posted October 27, 2018 Posted October 27, 2018 Hi @Rolfi As I was saying above, if you want to control some GUI controls, you will never say, but you need Control* functions ( if the GUI you are trying to automate accepts those type of "actions" ). If you could provide more information about the GUI/Controls you are trying to automate, then we can see how we can help you Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
Earthshine Posted October 28, 2018 Posted October 28, 2018 Faq 31 for calc and others My resources are limited. You must ask the right questions
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