Focus Example

 

This example will focus the Notepad window using the AutoMate Focus Action.

 

Sub Main

 'This script will focus the Notepad window

 'using the AutoMate Focus Action

 Action.Focus("Untitled - Notepad")

End Sub