Playlist auto remove

I was wondering if it would be possible to make a script or something that makes the playlist (the now playing playlist) auto remove the tracks that have already played so you do not have to keep scrolling down the list to see whats next.