• 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: Examples or docs for (Tiger) system events XML Suite ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Examples or docs for (Tiger) system events XML Suite ?
      • From: "Steven D. Majewski" <email@hidden>
References: 
 >Examples or docs for (Tiger) system events XML Suite ? (From: "Steven D. Majewski" <email@hidden>)

  • Prev by Date: Re: make a list with : choose from list ABC with prompt
  • Next by Date: Re: Examples or docs for (Tiger) system events XML Suite ?
  • Previous by thread: Examples or docs for (Tiger) system events XML Suite ?
  • Next by thread: Re: Examples or docs for (Tiger) system events XML Suite ?
  • Index(es):
    • Date
    • Thread