You are viewing a single thread.
View all comments View context
25 points

If you have years of files named similarly with the date, you will love the ISO standard and how it keeps things sorted and easy to read.

permalink
report
parent
reply
20 points
*

I have autohotkey configured to insert the current date in ISO 8601 format into my filenames on keyboard shortcut for just this reason. So organized. So pure.

permalink
report
parent
reply
9 points

Holy shit teach me your ways how do I do that

permalink
report
parent
reply
8 points
*

Download Autohotkey, and create a new script. Paste these shortcuts into the script and restart the script:

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.

; #Warn ; Enable warnings to assist with detecting common errors.

SendMode Input ; Recommended for new scripts due to its superior speed and reliability.

SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

:R*?:ddd::

FormatTime, CurrentDateTime, yyyy-MM-dd

SendInput %CurrentDateTime%

return

:R*?:dtt::

FormatTime, CurrentDateTime, yyMMddHHmm

SendInput %CurrentDateTime%

Return

Now, if you type β€˜ddd’ on your keyboard, the current date will be typed out, eg β€˜2023-11-23’.

If you type β€˜dtt’ tgen the datetime stamp will be typed out in YYMMDDhhmm format, eg 2311231012

There are so many cool things you van do with AHK to make your work more productive. For example, rather tgan typing your email address a billion times, add the shortcut:

::add1::your.email.address@domainname.com

And then you can type β€˜add1’ and hit space, and your email address will be typed out in full. Of course, the string β€˜add1’ can be whatever you want.

permalink
report
parent
reply
3 points

Are you familiar with AHK at all?

permalink
report
parent
reply
2 points

Much date. Very logic.

permalink
report
parent
reply

Memes

!memes@lemmy.ml

Create post

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

Community stats

  • 11K

    Monthly active users

  • 13K

    Posts

  • 287K

    Comments