I've manage to automate the sync to my iPhone using the following vbscript - which runs from a windows schedule:
Code: Select all
Dim SDB : Set SDB = CreateObject("SongsDB.SDBApplication")
SDB.ShutdownAfterDisconnect = False
WScript.Sleep(5000)
Dim list : Set list = SDB.Device.HandledDeviceList
If list.Count = 0 Then
'No connected device
WScript.Quit
End If
Dim txt
Dim i : i = 0
For i = 0 To list.Count-1
txt = SDB.Device.Caption( list.DeviceHandle(i))
If txt = "Simon's iPhone" Then
Call SDB.Device.StartAutoSynch(list.DeviceHandle(i))
End If