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


#1

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


#2

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


How to use 'Activate' control?