Search code examples
casetitleautohotkey

Title Case in AutoHotkey


Is it possible to transform the text in the Clipboard in a Title Case form? For example if the text in the clipboard is "The quick brown fox" then the script will have to transform it into:

"The Quick Brown Fox"

It would be nice to also work with non-ASCII characters too (diacritics), transforming "anders ångström" into "Anders Ångström"


Solution

  • Try this:

    StringUpper, ClipBoard , ClipBoard  , T
    Send, ^v
    Return