To create a timecode show via macro, several objects must be created in objects at the same time:
TC Show->Tracks->SubTracks->Events.
This is not possible via the Text User Interface. It is only possible via the graphical user interface or by importing a TC Show as xml file.