Multiple items

I want to select all item except number 03 and 07,

I tried : select multi item activity, type into and some hotkeys…

I used hot keya like _ select all then control key and then click on item to de select… It is not working…

Kindly suggeat the feasible solution…

Use click with key modifiers as CTRL

3 Likes

Hi @ba12235590747

Use Select Multi Item activity directly and pass the array of required items, for example {“01”,“02”,“04”,“05”,“06”} instead of selecting all and trying to deselect 03 and 07.

If helpful, mark as solution. Happy automation with UiPath

Hi @ba12235590747

Please don’t select all in one and don’t try to deselect first
Please try clear selection First then and select what u need by using Ctrl + and click in loop

Cheers

Hi @ba12235590747,

Use Find Children on the list container and store output as a list of UiElements.

Use For Each over the UiElement list.

Inside loop, use Get Text on the current item.

If the text does not start with “03” and does not start with “07”, then use Click activity with Input Mode = Simulate and Modifier Key = Ctrl.

This selects only required items and avoids deselection issues

Hi @ba12235590747,

Use this Logic

For each item 
     If item.Text NOT IN("03 - Information system", "07 - IT Service Catalog")
       Click item

Use find children on the parent container then loop through items → Skip names containing 03 and 07 → Click remaining items

click with control worked , thanks

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.