Normally, when a song in a playlist finishes playing, iTunes immediately proceeds to the next track in the list. Sometimes, however, it'd be nice to just stop playback when the current tune is done. Hints reader llee came up with a simple script that will do just that. In AppleScript Editor, type:
tell application "iTunes" to play selection with once
Save the script to your user account's /Library/iTunes/Scripts folder, giving it some kind of sensible name (
Stop Play, for example). When you restart iTunes, that script should be available from the program's Scripts menu. If you select it while a song is playing, playback will stop when that song is done.