1041
submitted 1 year ago by spicytuna62@lemmy.world to c/memes@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Agent641@lemmy.world 20 points 1 year ago* (last edited 1 year ago)

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.

[-] lukewarm_tauntaun@feddit.de 9 points 1 year ago

Holy shit teach me your ways how do I do that

[-] Agent641@lemmy.world 8 points 1 year ago* (last edited 1 year ago)

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.

[-] can@sh.itjust.works 3 points 1 year ago
[-] lukewarm_tauntaun@feddit.de 2 points 1 year ago
[-] mvirts@lemmy.world 2 points 1 year ago

Much date. Very logic.

this post was submitted on 22 Nov 2023
1041 points (95.9% liked)

Memes

45746 readers
1934 users here now

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.

founded 5 years ago
MODERATORS