Re: Scripting
Re: Scripting
- Subject: Re: Scripting
- From: James Burns <email@hidden>
- Date: Sun, 2 Mar 2003 17:12:42 -0500
David:
Look up user defaults property in the AppleScript Terminology Reference
PDF. Very useful.
Another way you can write to a plist file is by using the terminal
command "default." Do a "man default" in the terminal for more info.
-----
James Burns
http://www.jamesburnsdesign.com
Date: Sat, 1 Mar 2003 18:18:16 -0600
From: "David R. Pierce" <email@hidden>
Subject: Scripting
To: AppleScript Users Digest <email@hidden>
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
_______________________________________________
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.