as an exercise to learn more about AS, I want to create a schedule of bugle calls (I attended a military college and have some sleepy teenagers who need some “Motivation” to rise and shine occasionally)
I visited the USMC Band site and placed 5 common bugle calls (Reveille being one of them) into a play list called “Bugle Calls”
I put together the following and expected it to play just the track called in the playlist. HOWEVER, it plays each track in turn and doesn’t stop (endless loop)
tell application "iTunes" play track "First Call" in playlist "Bugle Calls" end tell
I’ve looked through the iTunes dictionary and can’t find another verb which would play the specified track and then halt.
I tried STOP and PLAYPAUSE but neither seem to wait for the playing track to complete.
Once I get the track to play once, I’ll start working on the timer piece…