Profile: Matt Healy (lankybutmacho)
8 comments | |
1 xtras |
Latest comments
# by lankybutmacho on 11/18/04 at 00:10:26
Very handy, but it might be nice to control how the output is phrased, i.e. just having "xx days" instead of "xx days from now" so I could phrase it however I want.
# by lankybutmacho on 09/27/04 at 15:04:54
Not only that, I didn't actually make the change the second time I quoted the code. Obviously, I'm incompetent. What I meant is, (item 1 of theEvents) should become (item i of theEvents).
# by lankybutmacho on 09/27/04 at 15:03:23
Hmm... guess it ignores my carriage returns. Oh well, you get the idea.
# by lankybutmacho on 09/27/04 at 15:03:00
One small glitch in your script for when there are multiple simultaneous events:
repeat with i from 2 to count of theEvents
set theResult to theResult & ", " & summary of (item 1 of theEvents)
end repeat
Should be:
repeat with i from 2 to count of theEvents
set theResult to theResult & ", " & summary of (item 1 of theEvents)
end repeat
With i instead of 1. Otherwise, it's excellent.
repeat with i from 2 to count of theEvents
set theResult to theResult & ", " & summary of (item 1 of theEvents)
end repeat
Should be:
repeat with i from 2 to count of theEvents
set theResult to theResult & ", " & summary of (item 1 of theEvents)
end repeat
With i instead of 1. Otherwise, it's excellent.
# by lankybutmacho on 12/23/04 at 11:43:11