• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [HELP] How to change Desktop background pic in OSX from Cocoa-Java?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HELP] How to change Desktop background pic in OSX from Cocoa-Java?


  • Subject: Re: [HELP] How to change Desktop background pic in OSX from Cocoa-Java?
  • From: David Remahl <email@hidden>
  • Date: Sun, 1 Jul 2001 13:31:42 +0200

On Sunday, July 1, 2001, at 01:13 PM, Mark Orchard ((BigPond Cable)) wrote:

Hi,

Apologies if this question has been asked before or if I'm missing something
obvious.

I'm beginning to explore the world of Cocoa using Java and I'd like to find
a way to change the Desktop background picture in MacOS X.
I didn't see anything in the AppKit or Foundation docs that could help. Is
this a Unix or lower-level System thing?

Any help or pointer to the right direction or list would be greatly
appreciated.
Uhm, actually it is a Finder thing...Finder is responsible for the desktop and it does what it sees fits with the background...Finder stores its preferences for the desktop in this structure in its .plist preferences file:

DesktopViewOptions = {
ArrangeBy = grid;
BackgroundFlags = 0;
BackgroundPictureURL = "file://localhost/Users/chmod007/Pictures/Familjebilder/Digitalkamera Tacha/
MVC-020S.JPG";
BackgroundType = PctB;
IconSize = 32;
};

But I dont think that that is anything you should go in and modify since the format may change in the future...A change would also require a restart of finder...I doubt it, but maybe finder supports changing the background using applescript...

/ david


  • Follow-Ups:
    • Re: [HELP] How to change Desktop background pic in OSX from Cocoa-Java?
      • From: Jonathan Hendry <email@hidden>
References: 
 >[HELP] How to change Desktop background pic in OSX from Cocoa-Java? (From: "Mark Orchard \(BigPond Cable\)" <email@hidden>)

  • Prev by Date: [HELP] How to change Desktop background pic in OSX from Cocoa-Java?
  • Next by Date: RE: [HELP] How to change Desktop background pic in OSX from Cocoa-Java?
  • Previous by thread: [HELP] How to change Desktop background pic in OSX from Cocoa-Java?
  • Next by thread: Re: [HELP] How to change Desktop background pic in OSX from Cocoa-Java?
  • Index(es):
    • Date
    • Thread