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: thetoolman on Aug 26, '08 10:09:32AM
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 Aug 26, '08 10:53:33AM

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 | # ]