How do I get the current wallpaper on a Mac? Just point me to an API function so I can Google more.
Edit: I think I found it. [NSUserDefaults standardUserDefaults] mentioned at http://lists.apple.com/archives/student-dev/2004/Aug/msg00140.html
Also possible from shell:
defaults read com.apple.desktop Background
And from AppleScript:
h...
It is possible to discover it programatically? It will use the Windows Registry? I'll need to take a screenshot of it and compare with the files on disk? Is it possible to discover even in the desktop slideshow mode?
...
Is it possible to display videos as a desktop background in XP programmatically, preferably using C#? VLC can do it, via its "DirectX > Enable Wallpaper Mode", so it may be possible to do this through the VLC command line interface. Can anyone recommend a way of doing this?
...
Possible Duplicate:
How can I programatically change the background in Mac OS X?
Hi,
I've whipped together a small (in this case python, but the language is not important) script which gets a jpg from a webpage and sets it as the current background image in OSX (testing and coding on 10.6.3).
My question is how to effectuate...