Set Desktop wallpaper on Mac OSX
BlitzMax Forums/BlitzMax Programming/Set Desktop wallpaper on Mac OSX| 
 | ||
| Hiya, does anyone have any handy code to do this?  I googled these forums but found nothing.  I posted this before but think it was lost in the recent server change over. Thanks! | 
| 
 | ||
| I don't really know how to do this, I haven't coded much in Cocoa/Carbon before on Mac but I found this: http://developer.apple.com/samplecode/DeskPictAppDockMenu/listing3.html There also seems to be system variable located at com.apple.Automator.SetDesktopPicture one might have access to. No idea how though :) Perhaps someone else knows more about this and could elaborate? :) | 
| 
 | ||
| Interesting, it's a start thanks.  Seems like that code was from 2002 and there is a proper API call since then. | 
| 
 | ||
| Can't you create a little script with Automator and launch that from your app? | 
| 
 | ||
| I've never made a script automater before (but I'm sure I could learn how).  That may work but it's not as nice and simple as just calling some code :-) (Although writing the code probably isn't simple) |