문제

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: 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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top