I don’t believe you can ask AE the system time, file creation date, or sequence info(unless you use a new comp name + thisComp.name as a custom sequence). It’s extremely limited, hence the long code just to simply get a filename and frames. You can try asking in the expression forum though.
The free way is to use batch renaming software; shouldn’t take too long, a few seconds, then your date and time will only be off by a few seconds in the new video filename. That’s not bad right?
You should really be using metadata from professional applications for logging and organizing. AE is a composite application.
Anyway…just add another + “Insert Text Here” to the last line to manually add text.
so, frame first, then sequence comp name, then layer name, then custom text would look like this.
timeToCurrentFormat(time) + ” ” + thisComp.name + ” ” + txt + ” ” + “Insert Text Here”
https://technicolorsoftware.hostzi.com/