How to select a command of a program via GUI libraries?

How to select a command of a program via GUI libraries?
0

Hello,

I have a question about GUI libraries. I am working on an automation program. I use coordinate info of a command (for example, file -> open or about -> help) via pyautogui. However, according to screen resolution or program window location, this command’s coordinate can be changed. To fix this problem, I want to move without coordinate. How can I select a command of a program via GUI libraries? Is it possible to make this? Because I know, pywinauto has a special movement for Notepad (app.Notepad.menu_select(“File->SaveAs”). I wonder, can I use this for other programs?