Function: menu_select() [Error]

Hello, I’m trying to use the function menu_select() in my course code, but I get an error because it doesn’t exist, but in my course code, it’s working.

image

Hello, @Ftreitasyuri

This module is based on the pywinauto library; I think this library will not display suggestions with method names because, basically, it treats all elements as being of the same class.

Since any element type can be returned, it does not display suggestions for specific methods that can be used.

I suggest using the pywinauto documentation as a basis, which contains references to the actions that can be done with each type of element:
https://pywinauto.readthedocs.io/en/latest/controls_overview.html

You can also use the Accessibility Insights for Windows tool to identify the types of elements you are manipulating more easily.