Bonibom
8 years agoContributor
Error in the help section "Checking the Toolbar Buttons' State"
Section: Checking if the Button is Enabled
Python example:
while ToolBar.wEnabled("Up"): ToolBar.ClickItem("Up")
leads to runtime error
TypeError: 'IDispatchIndexedPropertyWrapper' object is not callable
The example would need to be corrected to:
while ToolBar.wEnabled["Up"]: ToolBar.ClickItem("Up")