Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / General / Networking / December 2007



Tip: Looking for answers? Try searching our database.

Changing the subject of an incoming mail.app message

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michelle Steiner - 02 Dec 2007 00:06 GMT
Select the message whose subject you want to change and then run this
script.

tell application "Mail"
  set theMessage to item 1 of (the selection as list)
  set the subject of theMessage to my getNewSubject(subject of  
theMessage)
end tell

on getNewSubject(OldSubject)
  return text returned of (display dialog "Enter the new subject of the
 
message and press Enter." default answer OldSubject)
end getNewSubject

However, after the script runs, you will have to click out of the
message folder and then back into it in order to see the change.

Signature

Support the troops:  Bring them home ASAP.

Madwen - 02 Dec 2007 04:07 GMT
> Select the message whose subject you want to change and then run this
> script.
[quoted text clipped - 13 lines]
> However, after the script runs, you will have to click out of the
> message folder and then back into it in order to see the change.

And that's another task I've been wanting to do for a long time.  Some
messages have such arcane subject lines. Thanks!
Jeffrey Goldberg - 03 Dec 2007 01:14 GMT
> Select the message whose subject you want to change and then run this
> script. [...]

Thank you.  I was just looking for a way to do that.  What I was going to
do was move the message to a drafts folder, then open it for sending as a
draft, change the subject, save to drafts and finally move it back where
it belongs.

Your script is much easier to use.

-j

Signature

Jeffrey Goldberg                     http://www.goldmark.org/jeff/
 I rarely read top-posted, over-quoting or HTML postings.
 http://improve-usenet.org/

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.