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
desktop picture
I use: . . .tell application "System Events" to set PicsName to (picture of current desktop as text)
. . . which will deliver: . . ."/Library/Desktop Pictures/Aqua Blue1024.jpg"