Re: Examples or docs for (Tiger) system events XML Suite ?
Re: Examples or docs for (Tiger) system events XML Suite ?
- Subject: Re: Examples or docs for (Tiger) system events XML Suite ?
- From: Shane Stanley <email@hidden>
- Date: Sat, 21 May 2005 08:51:56 +1000
- Thread-topic: Examples or docs for (Tiger) system events XML Suite ?
On 21/5/05 3:03 AM, "Steven D. Majewski" <email@hidden> wrote:
> ( or the property list suite ? )
For example:
set thePrefs to path to preferences folder from user domain as Unicode text
set finderPlist to (thePrefs & "com.apple.finder.plist")
tell application "System Events"
set rootPropList to contents of property list file finderPlist
tell rootPropList -- the root property list item
tell property list item "recent-folders"
tell property list item 1 -- the first of the recent folders
tell property list item "file-data" -- the data about the
folder
tell property list item "_CFURLString" -- the path to
the folder
get value
end tell
end tell
end tell
end tell
end tell
end tell
--
Shane Stanley <email@hidden>
_______________________________________________
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