DeCapitalise

Script key

Posted by matte-code

Install

Details

Label DeCapitalise
Voice Over
Script

// De-Capitalize words in selection

var s = getSelectedText();
if (s.length > 0) {
  s = s.replace(/(?:^|\s)\S/g, function(a){ return a.toLowerCase() }
  );
  setSelectedText(s);
}

Advanced

Keyboard shortcut None
Hide key Yes

Discussion

comments powered by Disqus