• 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
Changing the "forward" tear line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing the "forward" tear line


  • Subject: Changing the "forward" tear line
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 8 Nov 2004 19:00:32 -0700

A friend of mine who recently switched to the Mac (I had been working on her to do so for more than a decade) wants to change the tear line for a forwarded message to what she's used to in the Unix world. I came up with this script for her as a temporary measure:

set find_TID to "Begin forwarded message:"
set replace_TID to "---------- Forwarded  message ----------"
set old_TID to text item delimiters
tell application "Mail"
	set msg_content to content of last outgoing message
end tell
set text item delimiters to find_TID
set temp to text items of msg_content
set text item delimiters to replace_TID
set msg_content to temp as text
tell application "Mail"
	set content of last outgoing message to msg_content
end tell
set text item delimiters to old_TID

I can't see any way to do it more simply with Applescript. I tried to find where Mail.app stores the string, but I haven't had any success with that yet. Anyone got any ideas for that? (Finder's Find by content didn't help.)

--
Windows was always a mystery to me; the biggest mystery being "Why does anyone want to use this?"


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Changing the "forward" tear line
      • From: Richard Allaway <email@hidden>
  • Prev by Date: Re: Bridge anyone? [not off topic]
  • Next by Date: Re: Changing the "forward" tear line
  • Previous by thread: Re: Can a handler return more than one result?
  • Next by thread: Re: Changing the "forward" tear line
  • Index(es):
    • Date
    • Thread