AppleScript Tutorial Wiki
Advertisement

Handlers are blocks of code that are defined at the beginning of a script or program. These blocks can be called at anytime using a single command.

Handlers are defined by the following lines of code:

on ''Handler_Name''()

         ''code for when handler is called''

end ''Handler_Name''
Advertisement