Windows – Is it possible to navigate / control programs only from the command prompt?

I was just wondering if it was possible to navigate through the command prompt in a computer program.

For example:

  • When using Evernote for PC, can I write a program to start it, create a new note, add, save, and exit text?

  • Or maybe how to telegram for desktop, if i could start it, pick a chat, type in a message and send or export chats on a regular basis?

Basically, I want to know if we can control programs in Windows without using the GUI or seeing it on screen, or if this is not possible. What could be the next alternative?