• 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: How to add new property list item into a property list file.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to add new property list item into a property list file.


  • Subject: Re: How to add new property list item into a property list file.
  • From: Gnarlodious <email@hidden>
  • Date: Mon, 4 Sep 2006 07:47:30 -0600

On 9/3/06, Tetsuro KURITA <email@hidden> wrote:
I was trying to add a new property list item into a property list file using
Property List Suite of System Event.

Another way is to do this:

try
	do shell script "defaults read com.apple.Finder AppleShowAllFiles"
on error
	do shell script "defaults write com.apple.Finder AppleShowAllFiles '0'"
end try

-- example  defaults command
"defaults write [domain] dictName -dict keyname valuestring keyname2
valuestring2"

-- Gnarlie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to add new property list item into a property list file. (From: Tetsuro KURITA <email@hidden>)

  • Prev by Date: Re: Unwrapping mail
  • Next by Date: Send Terminal window crtl-c
  • Previous by thread: Re: How to add new property list item into a property list file.
  • Next by thread: redirect mail with an AppleScript
  • Index(es):
    • Date
    • Thread