An Applescript to autoformat sentences with a capital letter and period at the end