0 Replies
      Latest reply on Jan 2, 2020 10:19 AM by GiovanniZ77
      GiovanniZ77 Level 1 Level 1 (0 points)

        Hi, I have a problem while clearing alarms on the Catalina system.

        example.

        tell application "Calendar"

          tell calendar "TsCalendar"

          set Myevents to first event

          set MyAlarm to every sound alarm of Myevents

          if MyAlarm is not {} then

          tell Myevents

          delete every sound alarm

          end tell

          end if

          end tell

        end tell

         

        Event :

         

        tell application "Calendar"

          get event 1 of calendar "TsCalendar"

          get every sound alarm of event id "D0FA5BF2-026D-4327-8590-68F0FB890213" of calendar id "7ED62731-DC0B-4E0B-8498-D56D5A0BEF25"

          delete every sound alarm of event id "D0FA5BF2-026D-4327-8590-68F0FB890213" of calendar id "7ED62731-DC0B-4E0B-8498-D56D5A0BEF25"

        Risultato:

        error "Calendar ha trovato un errore: L'handler dell'AppleEvent non è riuscito." number -10000