Created
May 31, 2018 05:50
-
-
Save stek29/813a1399d2811783b6cb060d6d4222fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set scnds to (time of (current date)) | |
set timeOfDay to item ((scnds div 21600 as integer) + 1) of {"night", "morning", "afternoon", "evening"} | |
set userName to (item 1 of (words of (long user name of (system info)))) | |
say "Good " & timeOfDay & ", " & userName & "." using "Alex" speaking rate 170 modulation 70 pitch 39 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment