How to know if any window is currently active or not in uipath?

Hi,
Is it possible in uipath to detect if any window is active or not by invoking any javascript function…?

Hi @Sam,

Use Get Active Window activity
Properties
ApplicationWindow=wind (UiPath.Core.Window)
use get Attribute activity
Properties
Element=wind in the Element
Attributies -> title or app

GetActiveWindow.xaml (8.9 KB)

if you use app ->it will return the application name

Regards,
Arivu

1 Like