Re: text returned to record
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