• 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: plist issues driving me crazy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: plist issues driving me crazy


  • Subject: Re: plist issues driving me crazy
  • From: Craig Stanton <email@hidden>
  • Date: Sun, 11 Jul 2004 11:04:22 +1200

I've been following your question because I will soon be trying to so something similar. Something, and I forget exactly what now, pointed me to this

http://developer.apple.com/samplecode/DeskPictAppDockMenu/listing3.html

I have downloaded, compiled and run this code and it works just fine. There only problem is that by default it points to you Pictures directory and on first run it will try to generate a dock menu listing all the images it finds in there (including massive iPhoto libraries). But once it is running you can point it to a smaller folder and practice changing desktop images. After that it is just a matter of reading the example code carefully and swiping the bits you need. I was totally confused by all the AppleEvents code in there, but I think it should be pretty easy to use the functions they provide.

Good luck and keep me informed of your progress, I might be asking for your help soon.

Craig

On 11/07/2004, at 9:36 AM, Kodex wrote:

Ive been toying around with this for days and i still
cant get it working. Ive tried a number of sample code
and it compiles fine and dosnt give me any errors when
i run it but it dosnt do anything. Here is what i am
trying to do..

From within my application i need to load in
com.apple.desktop.plist and edit the field inside of
Root/Background/**A RANDOM NUMBER**/ImageFIlePath
my bigger problem is i cant seem to get a code sample
to edit anything much less the field i want to use,
the second problem i see comming will be editing a
field within a random number directory. Anyone have
any infomation on how to get this working right? Im
getting ready to start tearing my hair out. Thanks as
always in advance!



__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >plist issues driving me crazy (From: Kodex <email@hidden>)

  • Prev by Date: Re: plist issues driving me crazy
  • Next by Date: Re: I am having a problem with writeToFile:atomically:
  • Previous by thread: Re: plist issues driving me crazy
  • Next by thread: Filename encodings
  • Index(es):
    • Date
    • Thread