Code: Select all
:*SEK10:cdyy<:: ; (c)urrent (d)a(y) (format 2)
FormatTime, CurrentDateTime, Default, dddd, dd-MMM-yyyy
Clipboard := "⋮ " CurrentDateTime
ClipWait
SendEvent % "^v" ; paste content
return
And when I type any letter, it gets written as Upper case unintentionally, until I press & release shift key again, it gets fixed. But it's annoying to have it some times when I fire the hotstring.
This video shows how it behaves on a notepad window:
https://youtu.be/58lJxQE9iLw
Many times the hotstring keeps Shift key pressed & doesn't get fixed until I press & release Shift key again.
Other Notes:
- Reason why I'm using SendEvent is here..
- This issue happens also on other editors like VS Code or a text input in a browser.