#!/bin/csh -f # Open the specified files in the iCal app. # -n = New instance of the app, even if another instance is already open. # - No. Can't open twice concurrently. Reports: # LSOpenURLsWithRole() failed for the application # /Applications/iCal.app with error -10810. # -a = Application to open # :q = Quote each incoming arg in case it contains embedded spaces and such. # - Does iCal even take params? What kind of files? # open -a '/Applications/iCal.app' $*:q # open -a '/Applications/Calendar.app' $*:q open -a '/System/Applications/Calendar.app' $*:q