Community
    • Login

    How to Use Notepad++ As a Daily Journal

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 313 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      tedhettel
      last edited by

      When using Windows Notepad, I can open a new .txt file and enter .LOG as the first line. I save this file. Then the next time I open it, the current Date and Time are entered at the bottom of the file, and I can enter new text. Each time I open this file, it goes to the bottom and enters the Date and Time.

      Is there a way to do this in Notepad++?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Online
        PeterJones @tedhettel
        last edited by

        @tedhettel ,

        With native Notepad++, you cannot get that exactly. But you can get close.

        Notepad++ has a keystroke Ctrl+End to take you to the end of a document, and a menu action (Edit > Insert > Date Time … of three variants, one of which is customizable in settings). So you could record a macro (Macro > Start Recording, Ctrl+End, ENTER, Edit > Insert > Date Time …, ENTER, Macro > Stop Recording) and save it with a keystroke (Macro > Save Current Recorded Macro), which means when you open your logfile, you can do that one keystroke, and it would then take you to the end and put in the date for you. So it would be one extra keystroke when you open the file… but one keystroke isn’t bad.

        T 1 Reply Last reply Reply Quote 2
        • T Offline
          tedhettel @PeterJones
          last edited by

          @PeterJones

          Thanks for your reply. I will give your solution a try as a Macro learning experience. Maybe I’ll find other uses for it.

          But, I just came up with a different solution:

          • I like Notepad++ so far, so I used the preferences to set Notepad++ as the default for a small number of file types I use occasionally.
          • I renamed the extension of the file I use as my daily journal/log from .txt to my initials .th.
          • I used the file properties to open that file with Windows Notepad.

          It’s working well for me. I can use my journal/log with Windows Notepad, and everything else uses Notepad++.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors