Re: finding newest file in a folder
Re: finding newest file in a folder
- Subject: Re: finding newest file in a folder
- From: Bill <email@hidden>
- Date: Tue, 16 Mar 2004 11:04:06 +0800
set x to "paragraph 1" & return & "paragraph 2" &
(ASCII character 10) & "paragraph 3" & (ASCII
character 13) & "paragraph 4" & (ASCII character
10) & "paragraph 5"
set lista to {}
repeat with j from 1 to 5
set end of lista to paragraph j of x
end repeat
lista
Deivy,
Would you consider this one:
set lista to paragraphs of x
-- {"paragraph 1", "paragraph 2", "paragraph 3", "paragraph 4",
"paragraph 5"}
In my experience, applescript handles characters (every characters of)
& paragraphs (every paragraphs of) quite well. Even returns correct
results when dealing with Traditional Chinese or Simplified Chinese.
bill
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.