Skip navigation

Strange behavior for iCal alarms

247 Views 0 Replies Latest reply: Apr 27, 2013 11:38 AM by RobertJ RSS
RobertJ Level 4 Level 4 (1,190 points)
Currently Being Moderated
Apr 27, 2013 11:38 AM

To run an AppleScript from an iCal alarm you do the following:

 

  1. In Automator, create a Calendar Alarm
  2. Select Utilities from the library pane
  3. Select & drag Run AppleScript into the workflow area
  4. Copy/paste an AppleScript into the Run AppleScript box
  5. Save the newly created Calendar Alarm with name (e.g. ArchNew)
  6. This will open the Automator Calendar in iCal
  7. Edit the Date/Time/Repeat/...... as you want as shown in the example below

Screen Shot 2013-04-27 at 1.16.06 PM.png

The resulting AppleScript will be stored here

 

/Users/<user_acct>/Library/Workflows/Applications/Calendar/ArchNew.app

 

Now the problem

 

If at a later time you want to modify the AppleScript ArchNew.app using the AppleScript Editor, it will break the binding between the iCal alarm and the AppleScript ArchNew.app

 

The only way I've been able to do this is delete the file

 

/Users/<user_acct>/Library/Workflows/Applications/Calendar/ArchNew.app

 

and then go back to #1 above and repeat the whole process with the modified AppleScript.

 

Does anyone know why the simple approach of directly editing and saving the changes to the AppleScript ArchNew.app doesn't work?

Mac Pro, OS X Mountain Lion

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.