So, I've got a script setup to open iTunes, start playing a song, and then show it in Front Row. It worked flawlessly in Tiger. For some reason, Front Row won't play well with the script in Mac OS X Leopard. Any ideas? Here's the script:
tell application "iTunes"
play playlist "Music"
end tell
tell application "System Events"
-- Command Esc. to start Front Row
key code 53 using command down
-- wait for Front Row to be ready for keyboard input
delay 4
-- Press Return twice (Music -> currently playing)
key code 36
key code 36
end tell