Glossary » learn mode
a state in which the computer is “learning” by observing the user’s behavior. The term is often used to refer to the period when a macro is being defined by having each action the user performs added to the macro, also called “record mode”.
In more powerful programming-by-demonstration systems, the user’s actions can be generalized to more complicated scripts involving loops and conditionals. The hard part in doing this is determining which user actions must be performed exactly, and which are merely meant to be instances of more general concepts: a parameter to the procedure or a conditional action that depends on the current computer state.