jacky wrote:Yeah, maybe, and that would be my fault, so that's really not good !
Well I was thinking the variables needed to access this too at first, and I'd still like to have this available in the customized status bar. So it's not just you.
Here's an odd 2-part thought..
What if there were a new Date() command:
Date(OutputVar, [Format], [Options], [SourceItem], [SourceDate])
OutputVar is obviously the variable the date is stored in.
Format would be the pattern like now.
Options would allow for switches to replace the date with the age or use this new relative weekday.
SourceItem would use the date of the specified file. <curitem> would allow for the selected & focused. Omitted would be current time.
SourceDate would define whether to use the Created, Modified, or Accessed date from Source.
Now that's part 1. Part 2 is a new variable, the script variable:
<script Var, Script>
This special variable would execute the script, and when it is finished be replaced with the contents of Var.
Thus we could replace <date> with <script %date%, Date(%date%)>
But we could also use some of the other script functions, like regexreplace.
The problem of course being that there would need to be a way to limit what scripting commands can be used within this variable and where this variable can be called.
Overall it would be pretty challenging to do correctly, and Don would need a lot of time to implement it. But I think it may give us quite a lot of power and be worth the long wait. Though I think we'd agree that Scriptable Mouse Actions and Taskbar Buttons is more important.