iphonelogd logs your calls in iCal
If you haven't figured it out yet, I'm one of those people who loves it when my computer grabs stats on what I'm up to (though I'm not so much on the whole reporting to other companies thing-- I'd prefer to keep my activities to myself). That's why I love the idea of iphonelogd, a little Ruby script that grabs your call history off of your iPhone, and loads it right into iCal as a calendar with a listing of events.Pretty sweet. And while it's great that the iPhone's call history already goes way, way back-- no more getting angry that my phone didn't save the number of the girl that called me last Tuesday-- it's even better to have every call logged in iCal with zero effort. You do have to actually run the script, but with a little launchd tweaking, that is easily accomplished as regularly as you restart your Mac. This is exactly what the iPhone promised-- a cell phone that works as well with your Mac as the iPod does.
[ via df ]
Share
Categories
If you haven't figured it out yet, I'm one of those people who loves it when my computer grabs stats on what I'm up to (though I'm not so...
Add a Comment
Any chance you could update the script to say "call to ..." or "call from ..." instead of "call with ..." ?
November 11 2007 at 6:11 PM Report abuse Permalink rate up rate down ReplyThis is incredibly useful. Thank you so much! Any chance you could put a similar script together to log iChat sessions as iCal events?
Right on. Let's take this a step further and put voice recordings of all calls and all voicemails into iTunes, with links from iCal.
November 11 2007 at 1:18 PM Report abuse Permalink rate up rate down ReplyI was wondering about this myself. Does anyone know how the calls list on the sync'd machine is populated? Does it get updated or deleted on each sync? Is there a direct correspondence between the Recent Calls list on the phone and what is saved on the sync'd machine.
November 10 2007 at 4:05 PM Report abuse Permalink rate up rate down ReplyI am attempting to make this work under Tiger. So far I have done the following:
- upgraded ruby to 1.8.5
- installed RubyCocoa0.12.0
- fixed up readline so irb would run
Then I commented all the iCal stuff out of the script so that I could first concentrate on reading and capturing the log. I did this because the Calendar framework (/System/Library/Frameworks/CalendarStore.framework) is not present in Tiger.
I make no promises since I have to work on this in my (almost non-existent) spare time. If anyone else is looking at this and wants to compare notes let me know.
How often do you need to run this? My Recent Calls list only goes back as far as last Wednesday (today is Saturday). I'm guessing that if it doesn't show in Recent Calls on the iPhone it's gone?
November 10 2007 at 12:48 PM Report abuse Permalink rate up rate down ReplyThis would be great if it can interface the call logs with Daylite3, which is what I have been waiting for all along so we can log calls to our customers.
Unfortunatley there is (yet) still no legal iPhone in Canada as we have to wait for the behemoth Rogers to get around to getting us real cell phones.
The easiest way to set this up to run is using "Lingon" which is a free tool that lets you manage launchd entries.
I first checked out the log code to a directory with svn, and then I run the ruby script from that location once an hour with launchd. You can download as you normally would any file and place it on your hard disk where you like and follow these directions as well if SVN is beyond you.
My Lingon settings (update to suite your tastes):
1) org.yourlastname.iphonelogd
2) /usr/bin/ruby /Users/glenn/src/git-svn/iphonelogd/iphonelogd.rb 'iPhone Call Log'
3) 'Run it every 1 hours'
4) save it, and logout/login again or restart your mac
Lingon is awesome, is open source, newly updated for leopard, and can be found here:
http://lingon.sourceforge.net/
And yes this needs Leopard since the Ruby language runtime, the frameworks to integrate it with OS X, and ruby gem libraries are only installed in Leopard now that Ruby (and its friend Ruby on Rails) are now first class programming languages in OS X 10.5. The Apple engineers did a lot of work to integrate Ruby tightly with OS X for this release (WooHoo!). Not sure its possible to run this particular code in 10.4 at all. I think you'll start seeing a lot more about Ruby in the OS X context in the days to come.
Enjoy.
BTW, this *might* work on Tiger if you install the Ruby items: Gems, RubyCocoa and SqlLite3. Don't quote me on that as I haven't tried it, but I know Ruby is more strongly represented in Leopard and this script uses those extension. I'm guessing that's why it's Leopard only at the moment.
If anyone gets it to work in Tiger, let the Tiger folks know.
Cheers,
FL
NEEDS LEOPARD = Huge caveat
November 09 2007 at 3:22 PM Report abuse Permalink rate up rate down ReplyHot Apps on TUAW
Deals of the Day
more deals- Altec Lansing Octiv Duo iDock for $48 + free shipping
- Used Apple iMac 17" Core 2 Duo 1.83GHz for $430 + $28 s&h
- Lounge Deluxe Stand for iPhone / iPod touch for $28 + $8 s&h
- Brookstone Surround-Sound Earbuds for $14 + $7 s&h
- Refurbished Skullcandy Tokidoki Smokin' Buds Mic'd Headset for $5 + $2 s&h
- Stitchway Backup Battery for iPod / iPhone for $5 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



23 Comments