automator - Calendar Alarm - "Run Applescript" Prompt Disable

Running: 10.11.6

Overview:

  • using automator and calendar alarm to run applescripts

Issue:

  • when the calendar alarm runs a dialog box requests to click continue to run the applescript

Desired

  • to run the applescript without the dialog box prompt.

Steps

  • open automator
  • select new calendar alarm
  • add run applescript
  • save
  • set time to run (next minute or so) in calendar app

Code:

on run {input, parameters}
	say "Hello"
end run