Home » Questions » Computers [ Ask a new question ]

How to insert time and date, and the directory path in Notepad++?

How to insert time and date, and the directory path in Notepad++?

I just downloaded Notepad++ v 5.3.1 and I'm having two problems with the TextFX plugin:

Asked by: Guest | Views: 82
Total answers/comments: 4
Guest [Entry]

"The latest NotePad++ version I have is 5.5.1.

I ran the TextFX plugin and it works. Perhaps that is what you need to do, download the latest, then everything should be ok."
Guest [Entry]

"Go to: Macro → Modify Shortcut/Macro → Plugin Commands. Set a Hotkey for: ""I:Date && Time - short format""

It works for me in Version 5.9.3.

If there is no ""Modify Macro""-entry in ""Macro"", then you have to record at least one macro. It's not perfect, I know."
"Go to: Macro → Modify Shortcut/Macro → Plugin Commands. Set a Hotkey for: ""I:Date && Time - short format""

It works for me in Version 5.9.3.

If there is no ""Modify Macro""-entry in ""Macro"", then you have to record at least one macro. It's not perfect, I know."
Guest [Entry]

"Assuming you're using a current version, you can create a hotkey for inserting the DateTime into your Notepad++ document by:

Opening the Settings menu, then ShortCut Mapper...
Clicking on the ""Plugin commands"" tab
Locate item ""I:Date & Time - short format"" (item #188 on my version - or use long format if you prefer)
Click on the item to highlight it then click the Modify button on the bottom of the screen
Add your short cut - I used Ctrl-F5

Done!"
Guest [Entry]

"You could use this for the path:

Edit / Copy to Clipboard / Current file path to clipboard
Edit / Copy to Clipboard / Current file name to clipboard

Found here: Lists of default mouse and keyboard shortcuts for Noteoad++ and some plugins"