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