Re: Ascii number of return
Re: Ascii number of return
- Subject: Re: Ascii number of return
- From: Yvan KOENIG <email@hidden>
- Date: Fri, 23 Oct 2009 18:06:07 +0200
As I don't like too complicate my life too much, I use a simple tip
on run set theRawText to read file xyz set liste to paragraphs of theRawText set theNormalizedText to my recolle(theRawText,return) -- now, I know what is the used paragraph delimiter. end run
--=====
on recolle(l, d) local t set AppleScript's text item delimiters to d set t to l as text set AppleScript's text item delimiters to "" return t end recolle
--=====
Is it a clean way, I don't know. But it made my life easier.
Yvan KOENIG (VALLAURIS, France) vendredi 23 octobre 2009 18:04:45
|
_______________________________________________
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