• 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: Getting started with XML?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting started with XML?


  • Subject: Re: Getting started with XML?
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 7 Feb 2007 17:52:09 -0700

On Feb 7, 2007, at 4:27 PM, kai wrote:

You should be able to filter such items, Michelle. Try this, for example:

----------------

tell application "System Events" to set composer_list to value of ¬
	property list item "Composer" of (property list items of ¬
	property list item "Tracks" where name of property list items ¬
	contains "Composer") of property list file (plistFile's path)

That works; thanks.

Now is the fun part: to combine the two, so I get the song title and artist (if there is one present in the list). Looks like I'm going to have to loop after all.

-- Michelle

--
Failure is not an option.  It comes bundled with the software.

_______________________________________________
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/mailman//archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Getting started with XML? (From: Michelle Steiner <email@hidden>)
 >Re: Getting started with XML? (From: kai <email@hidden>)
 >Re: Getting started with XML? (From: Michelle Steiner <email@hidden>)
 >Re: Getting started with XML? (From: kai <email@hidden>)

  • Prev by Date: Re: Getting started with XML?
  • Next by Date: Re: Help with writing to a file --- weird characters.
  • Previous by thread: Re: Getting started with XML?
  • Next by thread: Re: Getting started with XML?
  • Index(es):
    • Date
    • Thread