I am trying to write AppleScript for an iCal request and find all the events that I have for a given date in any calendar.
I started writing a simple script that does something simple with every event on this calendar:
tell application "iCal"
tell calendar "Reuniones"
set the_events to every event
repeat with an_event in the_events
set value to summary of an_event
end repeat
end tell
end tell
However, this simple script takes a lot of time to execute (a few seconds), even if I am not doing anything complicated inside the loop. I am afraid that a real script will really take a long time to execute.
I am not very familiar with Applescript, and I believe I am doing something stupid that has serious performance implications.
- , ? - - ? . , (, Automator), "" .
EDIT: Mac OS X Tiger (10.4). , iCal .