• 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: Where's the cookie, monster?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where's the cookie, monster?


  • Subject: Re: Where's the cookie, monster?
  • From: Philip Aker <email@hidden>
  • Date: Wed, 13 Nov 2002 22:05:43 -0800

On Wednesday, Nov 13, 2002, at 13:38 US/Pacific, Peter Bunn wrote:

I'm on a dialup connection in rural Witzconsin, so I guess I'll have to spring for the developer CD one of these days... knowing me, I'll probably find a reason to put it off.

Developer CD comes with Jaguar.


Do you happen to know if 'Property List Editor' is in any way AppleScriptable? AS is the only language other than HTML I can do _anything_ with.

Property List Editor has no scripting dictionary. However, you may use the shell command 'defaults' to read and write ".plist" files. It will automatically search the preferences folder or take a full path for the plist file.

For example:

set res to (do shell script "defaults read com.apple.internetconfig")

will return all the stuff that's in the "~/Library/Preferences/com.apple.internetconfig.plist" file.
However, it's not all peaches here--it's a bit tricky to manage the nested keys for some of these files. There is a 'man' page though and with some work (possibly involving other command line tools), I believe it would be possible to deal with the data you need.


My hope is/was that I can make an installer of sorts for my own stuff (involving protocol helpers), but maybe the users (if any) will just have to work a little harder.

Use PackageMaker (installed with Developer Tools). It can run shell scripts.


Philip Aker
http://www.aker.ca
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Where's the cookie, monster? (From: Peter Bunn <email@hidden>)

  • Prev by Date: Re: Where's the cookie, monster?
  • Next by Date: Re: Entourage: Kill that Daemon!
  • Previous by thread: Re: Where's the cookie, monster?
  • Next by thread: Re: handler failure [oops! correction]
  • Index(es):
    • Date
    • Thread