.LOG timestamp functionality



  • Hi Folks,
    Is there a way to enable a timestamp to be added automatically to a .txt file if the first line of the file is ‘.LOG’
    Windows notepad works like that , but i have notepad++ opening .txt files now .

    Regards
    Barry



  • Hello @Barry-Parr,

    I can think of a python script which might be able to do this.
    If you want to go this way, let me know what exactly needs to be done.
    Do you really want every txt file to be checked if first line is .LOG?
    Should it log the timestamp every time you open the file or every time
    you switch to the file? Or do you want a script which will insert the timestamp
    when using a shortcut?

    Cheers
    Claudia


Log in to reply