Can I create a code to open and execute commands inside an application ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can I create a code to open and execute commands inside an application ?

My doubt is more complex than it (at least for me). I would like to know if is possible to create a code that execute commands inside Windows programms. For example.. I want my code open Google Chrome >> Go to: sololearn.com >> Log In my account. But I also want my code open a folder >> choose many images (I will choose, obviously)>> edit at Paint >> resize the image >> save and close all. Is it possible ? Keep calm, I don't want to create virus.Just codes to make my work more easy.I've learned Py and C++

13th Jan 2018, 7:56 PM
▲TopGun ▲
▲TopGun ▲ - avatar
1 Answer
+ 2
Pyautogui is that you're searching for ;) Somehow this library can do all the examples you said and much more.
13th Jan 2018, 8:02 PM
Sebastián Zapata
Sebastián Zapata - avatar