Once upon a time, Windows included a macro recorder, which would record your key/mouse actions for later playback.