Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make a list



Sacha,

You might be faster in AppleScript by avoiding the nested us of AppleScript's text item delimiters and use something like (pseudocode not testet):

set prevPostition to 0
set theList to {}

repeat with i from 1 to count characters of x
if character i of x is equal to tab or character i of x is equal to return then
set theList to theList & {the text prevPostition to i of x) end if
end repeat

Regards
Christian

____________________________________
Christian Fries
Web: http://www.christian-fries.de
Email: email@hidden
Public Key: http://www.christian-fries.de/publickey
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.