0

I would really like a snippet of code that would take in a string location for a file & makes that the desktop background.

It can be in c++ or Objective C, but I'm just having no luck here.

Leniel Maccaferri
  • 100,159
  • 46
  • 371
  • 480
Ross The Boss
  • 624
  • 5
  • 17

1 Answers1

0

See Programmatically changing desktop image, in particular

setDesktopImageURL:forScreen:options:error:
Community
  • 1
  • 1
Joe
  • 2,352
  • 20
  • 38
  • That's fantastic. I've found the Sample project Apple Inc. has posted to be the most helpful. [link](http://developer.apple.com/library/mac/#samplecode/DesktopImage/Introduction/Intro.html#//apple_ref/doc/uid/DTS40008860) for anyone that want's to know. Thanks Joe! – Ross The Boss Feb 10 '13 at 15:09