Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Front Row Won't Work Nicely With AppleScript

Front Row Won't Work Nicely With AppleScript
Thread Tools
ncmason
Guest
Status:
Reply With Quote
Nov 16, 2007, 09:47 PM
 
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
     
Professional Poster
Join Date: Jan 2001
Location: Between Sydney and Melbourne
Status: Offline
Reply With Quote
Nov 16, 2007, 10:28 PM
 
try the developers forum, there a few Applescript people in there,
     
Mac Elite
Join Date: Jun 2003
Location: Newport News, VA USA
Status: Offline
Reply With Quote
Nov 17, 2007, 05:04 PM
 
Front Row in Leopard doesn't use iTunes for music playback.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:16 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2