This example will close a window with a window title beginning with the word ôNote.ö
Sub Main
'This script will close the Notepad window
'using the AutoMateÖ CloseWind Action, note that
'only a partial title was specified
Action.CloseWind("Note", "0", "")
End Sub