• 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: Scripting PLE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting PLE


  • Subject: Re: Scripting PLE
  • From: Donald Hall <email@hidden>
  • Date: Sat, 1 Mar 2003 23:44:54 -0700

David,

You can use the defaults command to read and write properties. For example:

set theProperty to do shell script "defaults read " & "\"" &
prefFileName & "\" " & propertyName

where prefFileName is the name of the preferences file, such as
'com.apple.ProjectBuilder'

Don

At 10:00 PM -0800 2003/03/01, email@hidden wrote:
>Does anyone know how to script Property List Editor to open a .plist
>file and then hopefully make
>a change to an item in the file?
>
>Opening the file itself is not difficult, but it comes up with a
>single row with a disclosure
>triangle. I can't seem to find this element in UI Browser, nor in
>UIElementInspector. It also
>seems to be hard to find by clicking on a point (at least I haven't
>yet clicked anything by script
>that does anything.)
>
>After manually disclosing the file, the row is readily determined,
>as is the specific text item.
>However I am having problems changing this item by doing a set text
>of (enclosing items) to number
>either straight, quoted, or as a variable either straight or as text
>(or string).
>
>I don't pretend to be even a mediocre Applescripter, but I can
>change text in other programs. :)
>
>I couldn't find a dictionary for PLE, but I am willing to be
>informed that I don't know where to
>look.
>
>Any help?
>
>Thanks,
>
>David R. Pierce

--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
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.

  • Prev by Date: Re: get alias from ~/path
  • Next by Date: Re: get alias from ~/path
  • Previous by thread: Re: FaceSpan?
  • Next by thread: Re: Scripting PLE
  • Index(es):
    • Date
    • Thread