Apple script issue with iOS5 device.
Apple script issue with iOS5 device.
- Subject: Apple script issue with iOS5 device.
- From: Payal Mundhada <email@hidden>
- Date: Wed, 11 Jan 2012 13:32:31 +0000
- Thread-topic: Apple script issue with iOS5 device.
Hi All,
I am transferring audio tracks from MAC OS X to iOS devices using apple script. I am using apple script in cocoa application. "Manually manage music and videos" option in iTunes is checked.
First i am creating playlist on device using apple script function:
set new_ipodplaylist to (make new user playlist at ipod_src with properties {name:myPlayList})
The playlist is created successfully. once playlist created I am trying to add tracks from music folder to the playlist using function
add track_item to myPlayList in for loop.
When track is actually placed on device the function "add <track> to <playlist>" returns true.
Files are getting copied to non iOS 5 devices correctly, however I am facing issue with iOS5 devices. On iOS 5 devices this function returns true even if the file is not synced on the device. Due to this my application is not working as expected.
It would be grate if anyone can suggest me the way or any apple script function that will let me know whether file is synced or not.
Thanks & regards,
Payal
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden