Does anyone know of a template symbol that can give you the filename of the template source code that is being executed, abit like %EditFilename but not %EditFilename?
At this stage, I’m just thinking I might just use
#Set(%F,‘MyFilename.tpw’)
or at the top of every tpl & tpw I might make line 1 something like
#! MyFilename.tpw
and then has some template code to read line 1 automatically, but that still needs updating manually if the filename changes, unless I come up with something to automatically add or update the filename stored inside the template, which runs periodically or is event driven.
TIA