tell application "Music"
set thePlaylist to playlist "Playlist Plunderer"
if (count of tracks of thePlaylist) < 1 then
display dialog "Playlist does not have any tracks."
return
end if
repeat with theTrack in tracks of thePlaylist
set trackDuration to duration of theTrack
-- Play track at specified percentages
repeat with p in {0.15, 0.5, 0.75}
play theTrack
delay 1
set player position to trackDuration * p
delay 4
stop
end repeat
end repeat
end tell
Post
Replies
Boosts
Views
Activity
I am aiming for the mac app store, and I used script editor to run this script, it is basic but opens the music app and plays songs at the specified playback points from the specified Playlist