Filling an array with selected items of another array
I'm just getting to know AppleScriptObj-C and trying to create a simple application that would allow me to create playlists.
The question is:开发者_如何学Go I have an array, containing all the music tracks from my iTunes library viewed through NSTableView. I make a selection and want these selected items to be copied to another array. How do I do it?
Thank you.
I'm not that familiar with AppleScriptObj-C, but I can give it to you in AppleScript...
tell application "iTunes" to set the array to the selection as list
精彩评论