# Logon procs and macros

Logon Procs or macros automatically execute at log on.
After the user has provided a valid account name and optionally the
password, the master dictionary of the designated account is checked
for a Proc or macro with the same name as the account. If it exists,
it starts up automatically. If no such Proc or macro exists, control
is transferred to TCL. In D3, the *user-macro* may also be used
for personalized logon sequences.

## See also

- [create-macro command](https://d3codex.com/tcl/create-macro-command/)
- [dm macro](https://d3codex.com/tcl/dm-macro/)
- [logon command](https://d3codex.com/tcl/logon-command/)
- [logto command](https://d3codex.com/tcl/logto-command/)
- [Macros](https://d3codex.com/definitions/macros-glossary/)
- [pick command](https://d3codex.com/unix/pick-command/)
- [PROC processor](https://d3codex.com/proc/proc-processor/)
- [users file](https://d3codex.com/systemfiles/users-file/)

---
Source: https://d3codex.com/proc/logon-procs-and-macros/ - part of the D3Codex reference.
