I’m trying to make a script that will get the summary of an iCal event for today, then turn it into a text file. For some reason, AppleScript won’t let me use the any of the date properties (start date, end date, etc.) because it thinks date always means the date class. This is really frustrating, especially since all my research shows scripts where people are using start date as it should be used with no problems! Does anyone know what might be going on, or have a solution?
Here’s a script I made while checking out the problem. When it tries to run I get an error every time it hits the word date
tell application "iCal"
set ThisCalendar to first calendar whose name is equal to "Work"
set MyEvent to first event of ThisCalendar
set EventProperties to MyEvent's properties
set StartDate to MyEvent's start date
Browser: Firefox 3.0.10
Operating System: Mac OS X (10.5)