francostellari / NppPlugins

Other
105 stars 6 forks source link

Filename variables #18

Closed kiyn closed 1 year ago

kiyn commented 2 years ago

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.

francostellari commented 2 years ago

I added more date and time variables. Can you try https://github.com/francostellari/NppPlugins/blob/main/TakeNotes/TakeNotes_dll_1v24_x64.zip

On Tue, Nov 9, 2021 at 2:48 AM kiyn @.***> wrote:

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

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/francostellari/NppPlugins/issues/18, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL5TXIXUAFQFT3H2U6ESHNTULDG3XANCNFSM5HUS2W6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Franco

kiyn commented 2 years ago

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$)?

francostellari commented 2 years ago

No I thought that it was was you asked.

On Fri, Nov 12, 2021 at 5:03 AM kiyn @.***> wrote:

Thank you very much!

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

Are there any others variables?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/francostellari/NppPlugins/issues/18#issuecomment-966975351, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL5TXIV6YNXXMK73VGYETZTULTQ65ANCNFSM5HUS2W6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Franco

kiyn commented 2 years ago

Thanks anyway!

francostellari commented 2 years ago

I'm not sure what "anyway" means. Can you clarify what you were asking and did not get? Regards,

On Sat, Nov 13, 2021 at 5:13 PM kiyn @.***> wrote:

Thanks anyway!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/francostellari/NppPlugins/issues/18#issuecomment-968155751, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL5TXIUSVLLKXYFLZQFWN5TUL3PJNANCNFSM5HUS2W6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Franco

kiyn commented 2 years ago

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.

loganrv commented 2 years ago

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.

malidiab commented 1 year ago

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.

francostellari commented 1 year ago

Which plugin are you referring to? TakeNotes and RunMe have an help button to show the variables. [image: image.png]

On Sun, Oct 9, 2022 at 8:47 AM Mohammad Ali Diab @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/francostellari/NppPlugins/issues/18#issuecomment-1272535296, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL5TXITWKECA7NVJTTL7OUDWCK5E3ANCNFSM5HUS2W6A . You are receiving this because you commented.Message ID: @.***>

-- Franco