Q: Putting dates in filenames is a brilliant way to organize things! How might I create a YYYY-MM-DD timestamp with a keyboard shortcut?
A: On a Windows PC, I
- installed the free macro tool AutoHotKey and
- created this script.
If memory serves, you don’t even need admin control of your PC to do this, but YMMV.
On a Mac, [update] I recommend using Keyboard Maestro. It’s quicker and easier than the original solution I described below.
Here’s how KM does Dates and Times–I’ll write up a step-by-step how-to in my copious free time.[/update]
I created an “Insert Current Date as ISO” shortcut from this post.
(I followed the instructions in the section titled “Alternatively, Use Automator Yourself” because I’m a sucker for learning by doing things the laborious manual way. Errors are the portals of discovery and all that!)
Pingback: Wanna Date? Part 1 | Kudotek v2.0
I’ve started using Keyboard Maestro (https://www.keyboardmaestro.com) and I must say that making a macro for typing a date in the proper format is easier (https://wiki.keyboardmaestro.com/Dates_and_Times), runs faster, and is pleasantly familiar for a guy accustomed to AutoHotKey on PC (https://www.autohotkey.com).