I received the forum summary a few minutes ago, your question was mentioned 
there. As I'm not using F4 or CTRL-SHIFT-T, my way of doing it came to my 
mind: Autohotkey. I have three "shortcuts":

.tod

which will be replaced by the current date, like 20190712

.now

which adds the time, 20190712_120835 

and finally

.yes

which is, of course, yesterday. 20190711.

; - Insert Date & time to be used to rename a file
:*:.now::
FormatTime, xx,, yyyyMMdd_HHmmss
SendInput, %xx%
Return

; - Insert year + week
:*:.week::
FormatTime, xx,, YWeek
SendInput, %xx%
Return

; - Insert Date
::.tod::
FormatTime, xx,, yyyyMMdd
SendInput, %xx%
Return

::.yes::
time := A_Now
time += -1, Days
FormatTime, xx, %time%, yyyyMMdd
SendInput, %xx%
Return



Ok, there's a fourth one which adds year + week, like 201928.

You can of course format the time as you wish, well described on the AHK 
website <https://www.autohotkey.com/docs/commands/FormatTime.htm>.

Sidenote: The reason I have these replacements is mainly due to my file 
naming convention. I normally place the current date in front of each file 
I create.

Hope that helps :-)

Cheers

André




Am Freitag, 12. Juli 2019 08:52:53 UTC+2 schrieb Huw Evans:
>
> This is great - any way to set the format for the date that is inserted 
> with this shortcut?

-- 
You received this message because you are subscribed to the Google Groups 
"MyLifeOrganized" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mylifeorganized+unsubscr...@googlegroups.com.
To post to this group, send email to mylifeorganized@googlegroups.com.
Visit this group at https://groups.google.com/group/mylifeorganized.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mylifeorganized/e0b8e742-ff41-4ab8-bf36-9c6ac4d1accc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to