• 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 14:27:21 +0200

Further searching on the web revealed that a "Defaults Write.." could be
executed from the command-line altering the Finder's DesktopViewOptions (as
you've shown below). This achieves the end-result but may well break in the
future. I was hoping to be able to do this from within a higher-level
Framework (AppKit, Foundation). Remotely "Apple-Scripting" the Finder may be
a cleaner solution but I don't know of any way to do this from Java-Cocoa
and I don't know of a way to "view" the Finder's (or any app's) AppleScript
dictionary.

As I said, this is rather a *higher* level issue than AppKit...Finder is an application and it does what it likes...You may want to file this as a bug...

/ david

PS. Cocoa-Java has functions for applescript. Use scripteditor to check if finder is scriptable when it comes to changing the background.


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

  • Prev by Date: Remove bouncing subscriber
  • Next by Date: NSString, scramble
  • Previous by thread: RE: [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