Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions texter.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ IfInString,ReplacementText,::scr::
}
IfInString,ReplacementText,`%s
{
StringReplace, ReplacementText, ReplacementText,`%s(, �, All
Loop,Parse,ReplacementText,�
StringReplace, ReplacementText, ReplacementText,`%s(, �, All
Loop,Parse,ReplacementText,�
{
if (A_Index != 1)
{
Expand Down Expand Up @@ -365,6 +365,21 @@ else
FormatTime, SDate, , ShortDate
StringReplace, ReplacementText, ReplacementText, `%ds, %SDate%, All
}
IfInString,ReplacementText,`%dm
{
FormatTime, XDate, , MM/dd/yyyy
StringReplace, ReplacementText, ReplacementText, `%dm, %XDate%, All
}
IfInString,ReplacementText,`%dw
{
FormatTime, WDate, , yyyy-MM-dd
StringReplace, ReplacementText, ReplacementText, `%dw, %WDate%, All
}
IfInString,ReplacementText,`%dy
{
FormatTime, YDate, , yyyy
StringReplace, ReplacementText, ReplacementText, `%dy, %YDate%, All
}
IfInString,ReplacementText,`%dl
{
FormatTime, LDate, , LongDate
Expand Down Expand Up @@ -556,4 +571,4 @@ if disablehotkey <>
; #Include includes\functions\autoclose.ahk ; Automatically closes bracketed puntuation, like parentheticals - not currently implemented

EXIT:
ExitApp
ExitApp