On Mon, 05 Sep 2011 17:44:35 +0200, David Dengg <david.de...@gmail.com> said:
>Hello list,
>
>I have all the songs from iTunes as iTunesFileTracks (via Scripting Bridge)....
>
>Is there a preferred way to write tags back into the tracks? Should I use 
>apple events directly?

You *are* "using apple events directly". (Sorry to post twice on the same 
question but I just noticed this.) A scriptable app like iTunes is utterly 
neutral and ignorant about who created and sent the apple event and how - there 
is no difference whatever between what it sees whether you do this with 
scripting bridge, with AppleScript, with Appscript, with a raw Apple event that 
you construct using Carbon calls, etc. etc. (as discussed in Appendix B of my 
AppleScript book).

Now, to be sure, an Apple event can be constructed well or badly, and scripting 
bridge *does* construct some Apple events badly, as I discovered the very first 
(and, not coincidentally, the last) time I tried using it:

http://lists.apple.com/archives/applescript-implementors/2007/Nov/msg00034.html

But it isn't getting *this* Apple event wrong.

m.

--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to