admin管理员组文章数量:1356385
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
本文标签: datetimeMake AutoHotKey produce uppercase text in timestampStack Overflow
版权声明:本文标题:datetime - Make AutoHotKey produce uppercase text in timestamp - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743999867a2573658.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论