Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have set up my Mac (10.6.4) to display random image from iPhoto on desktop.

From time to time I would like to know which image is displayed (I have a lot of them), but I could not find a way how to do it.

Something like right click > show file (like iPhoto has) would be great.

share|improve this question

The following Applescript should work:

on run
    tell application "System Events"
        tell current desktop
            set desktopProperties to (get item 3 of (get properties as list) as text)
        end tell
    end tell
    tell application "Finder"
    reveal desktopProperties
    end tell
end run

In Snow Leopard, to turn this into a useful action, open up and from the template menu select Service.

In the top bar, make it read: Service receives No input in any application. Then drag Run Applescript from the Library pane beneath it and paste the above Applescript code into that window (replacing the default template code).

Save it as a suitably named workflow (e.g. Show Wallpaper). This will then appear as an action in the Services menu of all applications, or you can assign it a keyboard shortcut in the System Preferences\Keyboard Shortcuts pane under Services.


share|improve this answer
The code you have provided always opens default wallpaper /Library/Desktop Pictures/Nature/Aurora.jpg. – Željko Filipin Nov 9 '10 at 15:49
Noted. I've amended the above Applescript so that it should now work. – Kenners Nov 9 '10 at 19:20
I am still getting Aurora.jpg every time. – Željko Filipin Nov 10 '10 at 8:29
Now it points to file in iPhoto Library, but to the wrong file. – Željko Filipin Nov 10 '10 at 11:00
Looks like it is a known problem. The article you link to says (in the comments) there is no way to get the current random wallpaper. – Željko Filipin Nov 10 '10 at 11:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .