I want to use Scripting Bridge to add a movie to iTunes. And it’s advisable to let me choose between “music video” and “movie”. I know both Objective-C and AppleScript, so I thought it would not be so difficult, but I cannot figure it out. I know how to use NSAppleScript for it, but I am targeting 10.5 or later and read that Scripting Bridge is deprecating NSAppleScript. Is it correct?
All I have is
iTunesApplication *iTunes = [SBApplication applicationWithBundleIdentifier: @"com.apple.iTunes"];
Which, as you see, is not so much.
objective-c itunes scripting-bridge
Jeroen
source share