WindowName Example

 

The following example sets the current task to trigger only when the window with the title of ôUntitled û Notepadö appears.

 

Sub Main

 ' Turn on the ôWindow Watcherö trigger

 CurrentTask2.TaskTriggers = 4

 

 ' Set the only property of the ôWindow Watcherö

 CurrentTask2.WindowName = ôUntitled û Notepadö

End Sub