Answer the question
In order to leave comments, you need to log in
How to control an application through a script?
Good evening.
I want to automate some tasks at work.
Can anyone tell me how to get information about the program? Names of buttons, fields, etc.
And how to manage it through VBS?
For example, to send an email via Outlook, we write the following code:
Set outobj = CreateObject("Outlook.Application")
Set mailobj = outobj.CreateItem(0)
mailobj.Send
Here we create an Outlook object and create a new email in it.
For Outlook, everything is written in the Microsoft documentation - but how can I understand how, for example, in the same desktop Telegram through a script, select the desired contact, select the field for entering a message, and click on "Send"?
Because it happens on a working computer, I would also like to hear options that are not related to downloading and installing third-party software.
Answer the question
In order to leave comments, you need to log in
1) VBA !== JavaScript
2) To manage, for example, a telegram, you need to read the documentation, for example, a telegram, to see if the desktop application has an API.
With regard to the telegram, it has a developers API, it does not allow you to manage a desktop application, but it allows you to write your own application.
https://core.telegram.org/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question