Needle in a Paperstack

Somehow I’ve amassed a huuuuge collection of over 10,000 desktop wallpaper images, which I’ve set to appear in a random order.

Every now and then one pops up that needs culling, or maybe being granted longer than the sixty secondsĀ each one currently gets.

Problem is, with that many images it’s impossible to work out which one is which, so I came up with the following Apple Script to open the current wallpaper image file in Finder.

 

tell application "System Events" to set folderPath to pictures folder of current desktop

set picturePath to folderPath & "/" & paragraph 1 of (do shell script "ls -tu " & quoted form of folderPath)

set realPath to POSIX file picturePath

tell application "Finder" to reveal realPath