Applescript to Sync iPhone/iPod
Unless I am mistaken but I don’t think iTunes would automatic perform “Sync” operation while the iPhone/iPod is docked. It would perform a sync operation the moment a iPhone/iPod is docked, but if one changes a entry in the address book for example, iTunes would not then sync the change to the iPhone/iPod unless one press the “Sync” button in iTunes manually. I find opening iTunes every time I want to sync very time consuming so this is a simple script to perform the sync:
tell application "iTunes" to update "navi_iphone"
Replace “navi_iphone” with the name of your iPhone or iPod