-
Notifications
You must be signed in to change notification settings - Fork 66
ctrl
variable is not assigned while generating click on toolbar button
#44
Comments
Problem |
The same bug for ComboBox item. See Result: import pywinauto
pwa_app = pywinauto.application.Application()
ctrl.Select('Black') I expanded combo box items and chose "Select" for "Black" item. |
There is a bug in the code generation for |
resolved in a8b85dd |
|
The fix depends on #66 |
It's reproduced on
.\apps\MFC_samples\CmnCtrl1.exe
. Just open "CToolBarCtrl" tab and run SWAPY.Find "New" toolbar button and select
Click
method. The following code is generated:ctrl
is not assigned here. Usingctrl.Button("New").Click()
is also better than magic index.Text
property is absent at the toolbar button description pane.The text was updated successfully, but these errors were encountered: