View Single Post
Hi all,

@SpiralOcean - Very useful script. Thanks a lot for sharing

@Simon Major: yes, it's a problem with the date format. You can make the script work by editing the one instance where the format is quoted in the script, thusly:

Right-click on the script, 'Show package contents', then navigate to Contents/Resources/Scripts/ and open main.scpt in the Applescript Editor. Change:

set shellScriptString to "/usr/local/bin/icalBuddy -ic \"" & calendarName & "\" -nc -nrd -eep \"url,location,notes\" -uid -df \"%m/%d/%y\" eventsToday+" & daysToLookAhead

to:

set shellScriptString to "/usr/local/bin/icalBuddy -ic \"" & calendarName & "\" -nc -nrd -eep \"url,location,notes\" -uid -df \"%d/%m/%y\" eventsToday+" & daysToLookAhead

There must be a more elegant way to fix this, but I don't know how...