• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Automating or triggering actions from Mac Calendar  RSS feed

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Joe Kissell,

Your book sounds really interesting, looking forward to own a copy of it.

In previous iCal program of Mac, there was a scripts directory where you could place scripts that would allow you for example to send an email notification to the people that invited you to a meeting (in case you were using other email clients like Sparrow).
Since they changed to Calendar program to replace the iCal there is no scripts directory and although haven't looked so deeply, but I have looked around and I have no way to trigger this kind of actions.
Do you know of a way to automate these kind of things in the Calendar program?

Thanks,
Nestor
 
Ranch Hand
Posts: 471
Hibernate Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


  • In Automator, create a Calendar Alarm
  • Select Utilities from the library pane
  • Select & drag Run AppleScript into the workflow area
  • Copy/paste the AppleScript into the Run AppleScript box
  • Save the newly created Calendar Alarm
  • Open Calendar.app, create a new event
  • Select the Automator calendar as your reference calendar
  • Select Open File for the alert, and select the file you created in Automator. By default, iCal is the file that comes up when you select Open File.
  • Change that to the name of the Automator app you created.
  • Select Other if the file name isn't shown.


  • credits to http://apple.stackexchange.com/a/59265/58055


    Also take a look at this
     
    Nestor Mata
    Greenhorn
    Posts: 17
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi Alaa,

    Thanks a lot, that is indeed great information which I plan to try out, already looking at several things to do with it.

    Yet, that doesn't cover the specific problem of "invite confirmations", that would allow me to trigger awesome things as an alert, but doesn't allow me to for example, send an invitation email reply when I confirm my assistance to a meeting (when not using Mac Mail Client).
    Do you think of a solution for that case?

    Thanks again.

    Best regards,
    Nestor
     
    Author
    Posts: 10
    5
    • Likes 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    That's an interesting use case that I'd never thought of before—having an invitation trigger an AppleScript. I don't see a good way to do that in Calendar, but I suggest asking in the MacScripter forums—if it can be done, I'll bet someone there knows how to do it.

    Joe
     
    Who among you feels worthy enough to be my best friend? Test 1 is to read this tiny ad:
    how do I do my own kindle-like thing - without amazon
    https://coderanch.com/t/711421/engineering/kindle-amazon
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!