Re: TID & text items issue
Re: TID & text items issue
- Subject: Re: TID & text items issue
- From: Emmanuel LEVY <email@hidden>
- Date: Wed, 24 Oct 2012 11:11:55 +0200
Huh? Do you have a script line that crashes Smile?
Emmanuel
On Oct 23, 2012, at 7:11 PM, Nigel Garvey wrote:
> Christopher Stone wrote on Tue, 23 Oct 2012 02:45:40 -0500:
>
>> More Satimage.osax:
>>
>> set _src to " 8 0 0xffffff7f81592000 0x41000
>> 0x41000 com.apple.kec.corecrypto (1.0) "
>>
>> set _list to change "(\\A +| +\\Z)" into "" in _src with regexp
>> set _list to splittext _list using " +" with regexp
>>
>> OR
>>
>> set _list to splittext _src using " +" with regexp
>> set theResult to exclude items {""} from _list
>
> OR
>
> set _list to paragraphs 2 thru -2 of (change "^ *| +| *$" into "\\n" in _src with regexp)
>
> This works with or without leading or trailing spaces. The equivalent
> splittext line crashes AppleScript Editor when there are no leading or
> trailing spaces.
>
>
> NG
>
>
> _______________________________________________
> 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
_______________________________________________
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