How to programmatically get the path to the wallpaper on the active desktop?
tell application "System Events" to picture of desktop 1


View all properties:

tell application "System Events" to get properties of every desktop