Re: names of a record's items
Re: names of a record's items
- Subject: Re: names of a record's items
- From: "koenig.yvan" <email@hidden>
- Date: Thu, 10 Apr 2014 19:09:57 +0200
Le 10/04/2014 à 17:23, Alex Zavatone < email@hidden> a écrit : Jesus. I never thought I'd say this, but it makes sense to clear the log, log the system info to a window, capture and parse the string.
So much easier than actually attempting to get the data from the API.
Wonder if there is an [object description] method in Objective-C that will simply output this as a string.
So you are back to my scheme:
#[SCRIPT] my decipherArecord(system info)
#===== # on decipherArecord(aRecord) try aRecord as text on error errMsg number errNbr offset of "{" in errMsg set errMsg to text (result as integer) thru -1 of errMsg offset of "}" in (reverse of characters of errMsg) as text set errMsg to text 1 thru -(result) of errMsg # Now we are free to decipher the text as we want return errMsg end try end decipherArecord
Yvan KOENIG (VALLAURIS, France) jeudi 10 avril 2014 19:09:52
|
_______________________________________________
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