Changing the "forward" tear line
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