Code: Select all
$myHilite = Color.newWithRGB255(255, 252, 163)
Set Highlight Color $myHilite

Code: Select all
$myHilite = Color.newWithRGB255(255, 252, 163)
Set Highlight Color $myHilite
Code: Select all
$doc = Document.active
$wordSels = $doc.text.find '^\w+', 'Ea'
$words = $wordSels.arrayByMakingValuesDoCommand 'substring'
$words.randomize
Document.newWithText $words.join("\n")
That's been one of those features that I have been looking for for some time now. Seems it was introduced in NW 3.0 but it slipped by me for some reason.