TechieGuy12 / FileWatcher

A file and folder monitor that can send notifications, perform actions, or execute a command when a file or folder is changed.
MIT License
106 stars 27 forks source link

DatePlaceholders get only replaced in Action #21

Closed JensSpanier closed 2 years ago

JensSpanier commented 2 years ago

I was trying to use [currentdate:...] in <arguments>. Because it wasn't working I looked into the code and saw that ReplaceDatePlaceholders is only located in Action.

Would it be possible to replace DatePlaceholders like the other placeholders (e.g. in ReplacePlaceholders)?

TechieGuy12 commented 2 years ago

I can look at adding the date replacements in the other sections, as well.

TechieGuy12 commented 2 years ago

The DatePlaceholders is now available for all changes that can use the path placeholder action. The latest release is available with this change.

JensSpanier commented 2 years ago

Just tried the new version. Works great. Thank you very much!