Applescript code to find path to Desktop picture in Desktop 2 I need an applescript that will find the path to the desktop picture used in Desktop 2. As this isn't the current desktop the code below doesn't work.

tell application "Finder"
    set DesktopPath to desktop picture as string
end tell


Is there anyway to easily automatically find the path to the picture in desktop 2?

runnning el capitan
This works for me:

tell application "System Events"
set tlst to a reference to every desktop
--set picture of item 1 of tlst to newtop  -- display 1
--set picture of item 2 of tlst to newtop -- display 2
set z to (picture of item 2 of tlst) as text
end tell
return z


The commented out lines are for setting desktop pic on one display or the other. newtop is obviously preset, or the result of

set newtop to choose file