Macro Scheduler 15

END

END>Subroutine_Name

 

Identifies the end of a Subroutine block.  Use SRT to start the subroutine.

 

Subroutines can be nested.  Subroutines can be located anywhere within the script.

 

See also Gosub, SRT

 

Example

 

Gosub>EnterName

Gosub>CloseApp

 

//// Subroutines Below ////

 

SRT>FocusApp

   SetFocus>Data Entry Screen

End>FocusApp

 

SRT>EnterName

   Gosub>FocusApp

   Send>Firstname

   Press Tab

   Send>Surname

   Press Enter

End>EnterName

 

SRT>CloseApp

   Gosub>FocusApp

   Press ALT

   Press F4

   Release ALT

End>CloseApp