Hi.
I’m new to scripting and started trying to learn it specifically to do the following:
I want to make an application that can play a specific iTunes movie playlist on one display (a 72" Plasma screen) and show the name, filmmaker, and possibly other attributes in white text on a black background on a 20" computer monitor next to it.
I’ve figured out how to play movies from a playlist in iTunes and get the name of an attribute (name is all I’m working with for now and so far I can display it in a dialog box) and make the movie play full screen:
tell application "iTunes"
activate
tell playlist "Smart all movies" to play some track
set the_Name to name of current track
end tell
delay 2
tell application "System Events" to tell process "iTunes" to keystroke "f" using command down
display dialog the_Name
What I can’t figure out so far:
-
How to make iTunes display the movie full screen on the large monitor without blacking out the small monitor.
-
How to make the name of the movie and the artist display on the smaller monitor. All I can think of here is to put it in a Powerpoint presentation and play it, but that seems needlessly complicated.
I had also thought of doing this with Quicktime, but I need to build something that others can use easily without any applescript experience and iTunes seemed like a good way to go, since I could just supply an application corresponding to each of say, ten playlists and then the user could just populate those playlists with the desired movies and run the corresponding application.
Any help would be greatly appreciated!
Thanks,
- Bruce