Re: XML - System Events vs XMLlib
Re: XML - System Events vs XMLlib
- Subject: Re: XML - System Events vs XMLlib
- From: has <email@hidden>
- Date: Thu, 30 Aug 2007 14:39:07 +0100
Wayne Melrose wrote:
I tried to find some examples of System Events parsing a plist file..
[...]
How do I I search for "creation" and return the string value?
How to I search for "happy" and return "false"?
tell application "System Events"
tell contents of property list file "/path/to/your.plist"
{value of property list item "creation", value of property list
item "happy"}
end tell
end tell
--> {"2007:06:12 20:13:52", false}
HTH
has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden