PList Editing and UIScripting
PList Editing and UIScripting
- Subject: PList Editing and UIScripting
- From: Brandon Lake <email@hidden>
- Date: Tue, 2 Dec 2003 13:22:06 -0800
Hello again, Bill and all other Scripting enthusiasts,
A while ago I brought up this question - I'm a student so this is kind
of a side project for me. Don't have a lot of time, that's why I'm so
on and off with the list.
Anyway, I was working on trying to edit a plist file with applescript,
I did get the AXDisclosing property to work on panther (I would prefer
working on Jaguar - but couldn't figure out the changes so I've been
using Panther) So the root key in my plist opens up fine and drops
down. I can also grab any key value using the simple get value from
the prefab ui scripting. Unfortunately though, I've tried both direct
GUI scripting with the standard:
set value of text field 2 of row 2 of outline 1 of scroll area 1 of
splitter group 1 of window "plugin.plist" to "My Attribute"
and I also tried applying a similar idea to what was mentioned last
time I posted - so I had something along the lines of:
set value of attribute "AXValue" of text field 2 of row 2 of outline 1
of scroll area 1 of splitter group 1 of window "plugin.plist" to "My
Attribute"
Neither of which changed anything. Neither of which cause an error
either. :o| ?
I'm still wondering if anyone has had any success changing these
properties. The value in textfield 2 of row 2 .. . is a string. So
I'm not really sure what's going on. At this point it would have been
quicker to edit them all manually, but I'm curious now and hope to get
it working.
Brandon Lake
_______________________________________________
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.