lørdag den 4. oktober 2008

Automatic synchronization of Sony Ericsson K750 with Macbook

This has been on my todo list for some time now.. I got my Macbook a couple of months ago and without any problems I synced iCal and the contacts with my K750 through iSync. Only problem is that iSync doesn't allow you to setup automatic synchronization in a certain time interval or when the phone is linked through Bluetooth.

With the help from the very useful scripts and instructions from Ali Rantakari I managed to get it running. Well the guideline use launchd to allow syncing between intervals but I wanted automatic syncing when the phone is connected through Bluetooth. So here are the steps to get it working:
  1. Download the forceSync script package from http://hasseg.org/blog/?p=136 and unzip them in /Users/username/scripts/forceSyncScript
  2. Make forceSync.bash executable by running "chmod +x forceSync.bash"
  3. Download and install Growl from http://growl.info
  4. The Growl package you download has an application called "growlnotify" in the Extras directory. Copy this application to /usr/bin/
  5. Make growlnotify executable by running "chmod +x growlnotify" in terminal
  6. Download bluelist from http://will.harris.ch/bluelist.gz place it in /usr/bin/
  7. Make bluelist executable by running "chmod +x bluelist" in terminal
  8. Edit the settings section in forceSync.bash so the paths and phone names are set correct
  9. Test the script setting by executing ./forceSync.bash -v
  10. Create a new Applescript in "Script editor" that executes the forceSync.bash script (save it in /Users/username/scripts/forceSyncScript/mySync.scpt):

    do shell script "/Users/username/scripts/forceSyncScript/forceSync.bash"
    tell application "iSync" to quit

  11. Download and install Proximity from http://reduxcomputing.com/proximity.php
  12. Start Proximity and change the settings in Proximity preferences (its the "X" in the osx menu line). In the "Scripts" section point the "In range script" to the sync.scpt script
  13. Turn on Bluetooth on the phone and you should see the iSync starting to sync the devices

Optionally you can download the files from here

Ingen kommentarer: