I want the ability to sort lines of text while inside TCEdit.
To do this,
I created an AutoHotKey script,
and added it to my HotStrings.ahk file.
...
Read more
To do this,
I created an AutoHotKey script,
and added it to my HotStrings.ahk file.
Code:
#HotIf WinActive("ahk_exe TCEdit.exe")
^+x:: { ; Ctrl (^) + Shift (+) + X
; Select all
Send("^a")
Sleep 60
; Copy
Send("^c")
ClipWait(2)
txt := A_Clipboard
txt := Sort(txt, "U")
A_Clipboard := txt
Sleep 80 ; Paste the result (replaces the highlighted text)
Send("^v")
}
#HotIf
Read more





