WindowName Example

 

The following example sets the current task to trigger only when the window with the title of 填ntitled Notepad appears.

 

Sub Main

 CurrentTask.Triggers = 4

 CurrentTask.WindowName = 填ntitled Notepad

End Sub