Write [Blue] '{ACTIVEWINDOWTITLE}' to log
// Define text of interest that you want to search forSet Text [MyText] to '*.bgsm*'// Check if active window contains the text of interestBegin Text Compare : [{WINDOWFOREGROUND:MyText}] Equals '1' // Output info to event log Write [Blue] 'Your window was found!' to logEnd Condition