How To Set an Alarm On a Mac

While there is no Clock app on a Mac yet, you can use the Calendar to set an alarm for any time on any day. By adding an Automator script, you can have that alarm play a sound at full volume or speak some text.



Here is the code for the script:

function run(input, parameters) {

	let app = Application.currentApplication()
	app.includeStandardAdditions = true
	let originalVolume = app.getVolumeSettings().outputVolume*7/100
	app.setVolume(7)
	
	app.displayNotification("Alarm Clock", { soundName: "Rooster" })
	delay(3)
	
	app.setVolume(originalVolume)
}

Comments: One Response to “How To Set an Alarm On a Mac”

    Kathy
    2 months ago

    Hi Gary, that was brilliant and so much fun to do. Thank you for all your excellent video tutorials.

Leave a New Comment Related to "How To Set an Alarm On a Mac"

:
:
:
0/500 (500 character limit -- please state your comment succinctly and do not try to get around this limit by posting two comments)