This example will maximize a window with a window title beginning with the text 哲ote.
Sub Main
'This script will maximize the Notepad window
'using the AutoMate Maximize Action, note that
'only a partial title was specified
Action.Maximize("Note", "0", "")
End Sub