Switch between applications programatically

Is there a simple way of switching between applications programmatically ?

In my automation, I open a number of applications and then switch between them.
To switch between applications, I currently click on the icon in the task bar.
I just wonder if there is a more elegant way of doing this ?

Thanks in advance.

Hugh

1 Like

Hi ,
Put each application steps in attach window activity and crate a windows variable .
Then use anyone according to your requirement (Show window/Restore Window/get active window activity) where you call up any attach window you like to use by passing the windows variable.

1 Like

UiPath will switch automatically between Windows before executing any actions.