Prior to System 7, the OS has little interapplication communication and there is no true scripting. Userland Frontier relies on the same technology as AppleScript so it is System 7 only. There are a number of macro alternatives which drive the Mac interface.
AutoMac (Genesis Micro Software) -- also bundled with an early version of Word.
Tempo (Affinity Microsystems) -- later versions are System 7 only.
KeyQuencer -- shareware, later versions are System 7 only.
QuicKeys (CE Software) -- try version 2.0 or 3.0. QuicKeys plus DiskTop can transform System 6.
AutoMac (Genesis Micro Software) -- also bundled with an early version of Word.
Tempo (Affinity Microsystems) -- later versions are System 7 only.
KeyQuencer -- shareware, later versions are System 7 only.
QuicKeys (CE Software) -- try version 2.0 or 3.0. QuicKeys plus DiskTop can transform System 6.