开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜