I am using the following AutoHotKey script on the CTRL-ALT-D
keyboard shortcut.
^!d::
FormatTime, CurrentDateTime,, ddd dd MMM yyyy @HH:mm
SendInput, %CurrentDateTime%
return
This one produces something like this: Sat 29 Mar 2025 @20:46
.
I would like to have all text produced by this command in uppercase, like this:
SAT 29 MAR 2025 @20:46
Does anyone know how to do that? Many thanks!!
I am using the following AutoHotKey script on the CTRL-ALT-D
keyboard shortcut.
^!d::
FormatTime, CurrentDateTime,, ddd dd MMM yyyy @HH:mm
SendInput, %CurrentDateTime%
return
This one produces something like this: Sat 29 Mar 2025 @20:46
.
I would like to have all text produced by this command in uppercase, like this:
SAT 29 MAR 2025 @20:46
Does anyone know how to do that? Many thanks!!
Share Improve this question edited Mar 30 at 2:39 Relax 10.6k2 gold badges17 silver badges34 bronze badges asked Mar 30 at 0:52 COLIN GHERGHECOLIN GHERGHE 1 1- See StringLower / StringUpper. – Relax Commented Mar 30 at 2:40
1 Answer
Reset to default 0As Relax stated...
^!d::
FormatTime, CurrentDateTime,, ddd dd MMM yyyy @HH:mm
StringUpper, CurrentDateTime, CurrentDateTime ; Convert to UPPERCASE.
SendInput, %CurrentDateTime%
return