• 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: XML text to Record
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML text to Record


  • Subject: Re: XML text to Record
  • From: Luther Fuller <email@hidden>
  • Date: Fri, 20 May 2011 14:15:05 -0500

On May 19, 2011, at 6:34 PM, Shane Stanley wrote:

Or you could do this:

tell application "System Events"
   set theitem to make property list item with properties {text:response}
   set imageinfoRecord to value of theitem
end tell

So I did this ...

on plistToRecord(xmlText)
tell application "System Events"
make property list item with properties {text:xmlText}
return (value of the result)
end tell
end plistToRecord ------------------------------------------

Thanks! That does work very nicely.

 _______________________________________________
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

References: 
 >Re: XML text to Record (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: For some strange reason
  • Next by Date: Re: tell app, name in string var
  • Previous by thread: Re: XML text to Record
  • Next by thread: tell to a process by id
  • Index(es):
    • Date
    • Thread