• 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: transfer message from Mail to FileMaker - no "returns" in the message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: transfer message from Mail to FileMaker - no "returns" in the message


  • Subject: Re: transfer message from Mail to FileMaker - no "returns" in the message
  • From: Helmut Fuchs <email@hidden>
  • Date: Mon, 28 Apr 2003 14:55:44 +0200

Hi,

I've never scripted Mail myself, but after reading countless messages bashing Mail for not being very Mac like, I'd assume the problem lies in Mail using LF characters for line endings and FileMaker using the traditional CRs.

The event log doesn't show this, because it's obviously smart enough to deal with both formats.

Just try to replace LFs with CRs before transferring your data to FileMaker (untested script follows):

set prevTIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to Ascii character 10
set cont to text items of cont
set AppleScript's text item delimiters to Ascii character 13
set cont to cont as text
set AppleScript's text item delimiters to prevTIDs

Does anyone know what MacOS X defines as the preferred end of line character? Or are CR, LF and CR/LF all valid nowadays?

HTH,

Helmut
_______________________________________________
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.

  • Follow-Ups:
    • Re: transfer message from Mail to FileMaker - no "returns" in the message
      • From: Malcolm Fitzgerald <email@hidden>
    • Re: transfer message from Mail to FileMaker - no "returns" in the message
      • From: Armin Egginger <email@hidden>
  • Prev by Date: Re: transfer message from Mail to FileMaker - no "returns" in the message
  • Next by Date: Re: TIDs and other questions
  • Previous by thread: Re: transfer message from Mail to FileMaker - no "returns" in the message
  • Next by thread: Re: transfer message from Mail to FileMaker - no "returns" in the message
  • Index(es):
    • Date
    • Thread