RPA-Windows nToolBar

Hi, the attachment system does not have hotkeys and I would like to click the 15 ntoolbar button. What is the best way to carry out this procedure with the rpaframework-windows library? Note that there is no name for the component I want to click on. Thanks

Hi @gazeta.julio

Assuming that you have correct window under control with Control Window then there are at least 2 possibilities to click that button.

  1. RPA.Windows.Click type:ToolBar > type:Button index:15
  2. Using image locator with RPA.Desktop library. Grab the image of the that button and use it as a locator. For example. RPA.Desktop.Click image:%{ROBOT_ROOT}${/}toolbar_button.png
2 Likes

Thanks Mika, I used the first suggestion and it worked perfectly!

1 Like