Re: deciphering TextCommand match info record
Re: deciphering TextCommand match info record
- Subject: Re: deciphering TextCommand match info record
- From: Axel Luttgens <email@hidden>
- Date: Tue, 17 Apr 2012 16:12:23 +0200
Le 17 avr. 2012 à 15:38, Jim Brandt a écrit :
> I'm having a problem deciphering a record returned from the scripting addition "TextCommands".
>
> I'm using a search command to return a "match info record", defined in the documentation as:
>
> Record Classes
> match info record -- A record describing the matched text.
> Returned by the search command when the 'finding match info' option is used.
> Properties:
> text (r/o) Unicode text -- The matched text.
> text range (r/o) list of integer -- The beginning and end indexes of the match.
>
> I think my problem is that "text", a property of the record, is also an AppleScript built-in property.
>
> [...]
>
> So, how do I get the "text" value from the record?
>
> FWIW, I'm running this on Tiger (10.4.11) on a G4 dual 450 and AppleScript Editor 2.1.2.
Hello Jim,
Didn't this one provide an answer?
http://lists.apple.com/archives/applescript-users/2011/May/msg00187.html
HTH,
Axel
_______________________________________________
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