francostellari/NppPlugins

Filename variables

kiyn opened this issue · 9 comments

kiyn commented

Are there other variables available for the filename besides $date$ $time$ and $firstline$ ?

If not, would it be possible to introduce something like $year$ $yy$ $mm$ $hh$ $mm$ $weekday$?
Thank you very much.

kiyn commented

Thank you very much!

I found these:
$year$ $month$ $day$ $hour$ $minute$ $date$ $time$ $firstline$

Are there any others variables?
Is it possible to have only the last two digits of the year ($yy$)?

kiyn commented

Thanks anyway!

kiyn commented

In addition to the %year% variable, it would have been very useful for me to also have a variable with only the last two digits of the year.
Something like %yy%.

I take this opportunity to apologize if I expressed myself improperly, unfortunately I do not have great command of English, and to thank you for the very useful plugin you wrote and for the timely and generous support you give.

Thank you for the great work, Franco. Can you explain how I can use the $firstline$ when creating a new note? I see that in the preview it takes the first line of text from a new note, but when I try to actually use the new note feature the first line text is not appended on the note name.

Where to get the list of all filename variables ? and how to use them ? sorry but I can't see any documentation or reference on how to use it. The dialog doesn't accept %filename% as a valid path.