Stop after this song

This is a set of appleScript files for iTunes to enable a laking function : just play one song. An other way to achieve this is to empty or clear the Up Next queue in iTunes.

You will find the sourcefile as well as the ready to use app and script in releases folder.

You can choose to use the app OR to install the script into iTunes.

How to install the script ?

Download https://github.com/geekadomicile/stop_after_this_song/blob/master/releases/script_to_launch_from_iTunes/stop_after_this_song.scpt and install it following Doug's great tutorial here : https://dougscripts.com/itunes/itinfo/asitbasics.php

How to use the App ?

Just download the https://github.com/geekadomicile/stop_after_this_song/blob/master/releases/launch_iTunes_and_script/stop_after_this_song.app.zip , extract it to /Applications folder and double-clic to start iTunes (the script will be executed every N seconds to ensure that only 1 and only 1 song is played and then the player stops).

Sources of inspiration and tademarks

https://dougscripts.com/

http://unadorned.org/dandruff/archives/2004/02/24/002324.html

iTunes name and logo is Apple's property