Questo applescript, si può migliorare?
set ad to current date
set hr to ad's hours
set bd to hr ≥ 6 and hr ≤ 12
set bp to hr ≥ 13 and hr ≤ 17
set bs to hr ≥ 18 and hr ≤ 22
set bn to hr ≥ 23 and hr ≤ 5
if bd is true then say "good morning!"
if bp is true then say "good afternoon!"
if bs is true then say "good evening!"
if bn is true then say "good night!"
grazie dei suggerimenti