I cut and pasted Applescript that shows desktop picture file name superimposed on picture (script triggers a boolean com.apple.dock value), but I want to capture the name for a display dialog and can't find it where most things I've read said it should be: in com.apple.desktop.plist, which I actually find is empty.
for example
property list item "LastName" of ¬ property list item "1983938400" of property list item ¬ "Background" of property list file ¬ ((path to preferences as Unicode text) & ¬ "com.apple.desktop.plist"))App I used to look that finds it empty I think is OK as it shows info in other plist files such a com.apple.dock.plist.
Everything I read led me to expect a property list item called "background". Anyone have any ideas where/how to capture the name of the current background Desktop picture?