Re: Simple character replacement question
Re: Simple character replacement question
- Subject: Re: Simple character replacement question
- From: KOENIG Yvan <email@hidden>
- Date: Thu, 31 May 2007 15:16:45 +0200
Le 31 mai 07 à 14:42:35, Bernard Azancot a écrit :
Hello everyone !
After each OCR process, I use a simple vanilla homemade cleaning
script to correct the recurring recognition mistakes.
I do not know why, in the text being saved under TextEdit, there is
a useless space before each return.
So, I need to delete this space with this script.
What is the name to use for the return following the useless space,
so that I can replace every 'space+CR' by 'CR'.
…
Hello
the variable offered by AppleWorks for CR is named "return"
This assumes that you get CR = ASCII code 13
if you get LF = ASCI code 10, as far as I know, there is no
predefined variable. You may defined one in your script:
property LF : ASCII character 10
Yvan KOENIG
_______________________________________________
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