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

Re: text returned to record


  • Subject: Re: text returned to record
  • From: Deivy Petrescu <email@hidden>
  • Date: Thu, 11 Nov 2010 16:39:04 -0500

On Nov 11, 2010, at 13:54 , Paul Abney wrote:

> I am trying get a record from the text returned of a dialog box. The text is formated as such:
>
> ORDER_ID:"61", ITEM_ID:"36", ORDER_NUMBER:"223-0044", PROPERTY_ID:"223"
>
> I want to paste it into a dialog box a get a proper record, however I am completely stumped. Any clues on how to do this would be greatly appreciated.
>

set l to "ORDER_ID:\"61\", ITEM_ID:\"36\", ORDER_NUMBER:\"223-0044\", PROPERTY_ID:\"223\""
return ITEM_ID of (run script "{" & l & "}")
---> 36



Deivy Petrescu
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:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >text returned to record (From: Paul Abney <email@hidden>)

  • Prev by Date: Re: text returned to record
  • Next by Date: Re: Finder weirdness
  • Previous by thread: Re: text returned to record
  • Next by thread: postscript to text
  • Index(es):
    • Date
    • Thread