How to indicate 2 same window?

1、Open 2 notepad.exe
2、Don’t save them and then they have same title and name
3、Indicate these 2 notepad window in UiPath Sutido,and you can get the same selector default
4、 How to i modify the selector? i want the robot knows the specific notepad.exe
Help Help Help!!! :weary: :weary: :weary:

in such a scenario the output variable “Window” of an open / attach window helps. It can be used to differentiate the two instances

From Documentation:


  • ApplicationWindow - The found active window. This field supports only Window variables. When a Window variable is specified, SearchScope and Selector properties are ignored.

I have fixed it, kind of same as your solution. Thanks. :grinning: