A trigger is an event with specific properties that will execute a macro which contains a sequence of commands.