Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,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 whomever posted them. This site is not responsible for what they say.
Add an iPhone call log to iCal via AppleScript
Authored by: thetoolman on Tue, Aug 26 2008 at 10:09AM PDT
This is a great script, and really worked well on my first backup file import. However, in my next attempt, the script choked on some numbers that had a + sign in them. This error:
./calllog2ical.rb:102:in `match': invalid regular expression; there's no previous pattern, to which '+' would define cardinality at 1: /+1850878XXXX$/ (RegexpError)
Can you put in a filter to strip that out of the pattern match? The + is added when you look up a number in Google Maps and click to call from there. They are not necessarily numbers I would want to track, but there is no way to selectively delete items from the call history. Otherwise, great work!

[ Reply to This | # ]
Add an iPhone call log to iCal via AppleScript
Authored by: jedmtnman on Tue, Aug 26 2008 at 10:53AM PDT
That sounds like a better suggestion to the creator of the Ruby Script since it appears to be an exception thrown by his code. Google code has a nice bug reporting agent.
Jed

[ Reply to This | # ]