The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Applications (http://hintsforums.macworld.com/forumdisplay.php?f=5)
-   -   Use iTunes as a wake up alarm? (http://hintsforums.macworld.com/showthread.php?t=46603)

coachfitz 11-19-2009 10:03 AM

Apple Script did not run, An Error 1005 has occurred
 
Hi,

Guys, I've been following your post and the information is fantastic! However, I am trying to run an Alarm on a lap top to turn on iTunes to run AirTunes through an Airport Express and out to my Backyard speakers.

However, every morning that I wake up it shows on my laptop that the Script didn't execute because of an error type 1005. When I looked up this type of error, it seems to be a network error?

Any ideas?

07hoffmannd 02-15-2011 08:24 PM

Play Different song
 
the code...

tell application "iTunes"
set this_playlist to playlist "alarmPlaylist"
play this_playlist
end tell

just starts the playlist back where it was played from last. even if its on shuffle. how would you make it play a different song in that playlist everytime?

NaOH 02-19-2011 03:01 PM

This script just worked for me and does not begin playing with the same song.
Code:

tell application "iTunes"
        set view of front browser window to playlist "InsertPlaylistNameHere"
        if player state is stopped then play
end tell


07hoffmannd 02-24-2011 06:30 PM

when you use the code

tell application "iTunes"
set this_playlist to playlist "alarmPlaylist"
play this_playlist
end tell

it just starts the playlist from where it played last. any way to get it to play a different song in that playlist everytime it goes off


All times are GMT -5. The time now is 02:57 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.