Add f16_datetime.ahk.

This commit is contained in:
voussoir 2023-02-26 14:46:16 -08:00
parent aeb28d6843
commit c50cddd5d8

13
f16_datetime.ahk Normal file
View file

@ -0,0 +1,13 @@
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
F16::
FormatTime, today,, yyyy-MM-dd
SendInput %today%
return
+F16::
FormatTime, nownow,, yyyy-MM-dd HH:mm:ss
SendInput %nownow%
return