ssev
10-15-2004, 12:18 PM
Im very new a writing scripts and what I want to do is create a applescript that will update the ipod with itunes and then sync with iSync and then eject the ipod so far I have the update iTunes and the eject, I can't find out how to make the iSync program sync. any help. I know that the shortcut keys to sync are "command-t" would that help?
tell application "iTunes"
try
update "name of ipod"
end try
end tell
tell application "iSync"
try
activate
***THIS IS WHERE I DON"T KNOW HOW TO MAKE iSYNC SYNC***
end try
end tell
delay 8
tell application "Finder" to eject "name of ipod"
display dialog "The iPod has been ejected." buttons {"Ô"}
tell application "iTunes"
try
update "name of ipod"
end try
end tell
tell application "iSync"
try
activate
***THIS IS WHERE I DON"T KNOW HOW TO MAKE iSYNC SYNC***
end try
end tell
delay 8
tell application "Finder" to eject "name of ipod"
display dialog "The iPod has been ejected." buttons {"Ô"}