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

  1. I recorded a macro with "TextFX Insert" > Date & Time (no matter whether short or long format) and, after I run the macro, only the first number of the time appears

    For example, I ask to insert time and it says its 8:59 AM 11/27/2009; but when I run the macro it only pastes 8:. How do I do to have the date inserted in the file without always needing to go to TextFX > Insert > Date & Time?

  2. When I try to use "TextFX Insert" to add the directory name or full path, only the first letter appears. For example, C:\data would show up as only C for full paths or only d for the file name.

How do I resolve these bugs?

link|improve this question
feedback

migrated from stackoverflow.com Jun 20 '11 at 20:31

This question came from our site for professional and enthusiast programmers.

5 Answers

I just assigned this to a shortcut key by going to SettingsĀ → Shortcut Mapper → Plugin Commands → I:Date and Time → short format

I am running version 5.3.1.

link|improve this answer
feedback

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.

link|improve this answer
By the way, funny that this version is latest, the date/time textfx plugin works but the insertion of current directory/full path and filename is still not working...sorry! – t0mm13b Nov 27 '09 at 14:26
feedback

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.

link|improve this answer
feedback

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

link|improve this answer
feedback

The author of Notepad++ says, "Macro system cannot record plugin commands."

link|improve this answer
feedback

Your Answer

 
or
required, but never shown