Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

printing iCal events in order

The Apple-provided iCal Applescript, Create Event Summary, has an issue: (when printing the events of this month) it does not print the events in date-time order, but jumbles that order. How is that Ascript determining the order it does show, and how can I change that to the date-time order? (Using iCal 2.0.3)

imac G3, iBookG4, Mac OS X (10.4), AirportExtreme

Posted on Apr 25, 2006 1:39 AM

Reply
5 replies

Apr 26, 2006 4:28 AM in response to Cyclosaurus

Thanks, however I think the iCal list print includes all dates whether they have any events or not. My purpose here is to print a schedule of weekly events without the extraneous dates. I think the script is supposed to address this shortcoming of iCal print view. I've edited the script so I can specify any period, such as 120 days. I just can't spot the place in the script where the order of printing events is determined. For that matter, when I'm feeling ambitious, I have a notion of printing the events as rows in a table-like format-- is that possible?

Apr 26, 2006 10:57 AM in response to Radford Schantz

Thanks, however I think the iCal list print includes
all dates whether they have any events or not. My


You can specify time range for printing, to print weekly events you specify:

Starts on date: mm/dd/yy
Ends after: 7 days

purpose here is to print a schedule of weekly events
without the extraneous dates. I think the script is
supposed to address this shortcoming of iCal print
view. I've edited the script so I can specify any
period, such as 120 days. I just can't spot the place
in the script where the order of printing events is
determined. For that matter, when I'm feeling
ambitious, I have a notion of printing the events as
rows in a table-like format-- is that possible?


It's quite complicated, especially for repeated events. se this thread:

http://discussions.apple.com/thread.jspa?threadID=440481&tstart=0

May 10, 2006 8:38 AM in response to Radford Schantz

I have modified the Apple-provided script to print events in date order. By way of background, I have a calendar, "soccer games," giving the Saturday game times and other info for the season, which runs from March through June.

Overview of script changes:

1) I added another choice to the range list, "Now Thru June06" and added code to handle when user chooses that. After I update future game info, I can print the event list omitting irrelevant past games. (If desired, one could have the user input the terminal date in a dialog.)

2) In the subroutine, "calender_events", I added a sorting procedure. The basic issue is that events are initially retrieved as Event 1, Event 2, etc. that is, with the event number given to the event when it was added to the calendar. Those event numbers are the basis for the order in the old script. The new code sorts the events by their start dates.

Contact me if you want a copy of the changed script.

printing iCal events in order

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.