• 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: TID & text items issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: TID & text items issue (From: Nigel Garvey <email@hidden>)

  • Prev by Date: Re: Problem saving a new file
  • Next by Date: Checking on the existence of a file
  • Previous by thread: Re: TID & text items issue
  • Next by thread: Re: AppleScript-Users Digest, Vol 9, Issue 418
  • Index(es):
    • Date
    • Thread