• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Automating or triggering actions from Mac Calendar

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Mac OS X Hibernate Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 23
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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
      Number of slices to send:
      Optional 'thank-you' note:
    • 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
     
    With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    reply
      Bookmark Topic Watch Topic
    • New Topic