• 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: Simple character replacement question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple character replacement question


  • Subject: Re: Simple character replacement question
  • From: Bill Briggs <email@hidden>
  • Date: Thu, 31 May 2007 09:46:27 -0300

Title: Re: Simple character replacement question
At 2:42 PM +0200 5/31/07, Bernard Azancot wrote:
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'.

 the CR is ASCII character 13

I usually put a line in the script like this

set cr to ASCII character 13

and then use the cr variable any time I need it. Saves a bit of typing.

- web
 _______________________________________________
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: 
 >Simple character replacement question (From: Bernard Azancot <email@hidden>)

  • Prev by Date: Re: Determine whether spot color is RGB or CMYK in Illustrator CS2
  • Next by Date: Re: Simple character replacement question
  • Previous by thread: Re: Simple character replacement question
  • Next by thread: Re: Simple character replacement question
  • Index(es):
    • Date
    • Thread