Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Add an iPhone call log to iCal via AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add an iPhone call log to iCal via AppleScript
Authored by: Supp0rtLinux on Aug 26, '08 11:52:56AM

I appreciated being directed to line 267 for a solution to change the output from seconds to minutes, however when you pasted in <blockquote>newEvent.setNotes("Length of call: " + call.duration.to_s + " seconds")</blockquote> you copied the original text and not the modified text. I'm sure you're going to find very few Ruby users on this site, so it would help include the modified text.
<p>
Related, before changing anything, I noticed that all the seconds were divisible by minutes. In other words, they're all 60, 120, 180, etc. Granted cell companies record in minutes, not seconds, but the iPhone stores in seconds. It would be good if it showed the actual time... ie: 1hr, 4min, 17sec. or if by default it rounded up to the nearest minute as will be shown on our cellphone bills.



[ Reply to This | # ]