Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucbvax!ANDREW.CMU.EDU!wjh+ From: wjh+@ANDREW.CMU.EDU (Fred Hansen) Newsgroups: comp.soft-sys.andrew Subject: Re: Changing AMS headers and more. Message-ID: Date: 18 Sep 90 15:40:15 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 49 Excerpts from internet.info-andrew: 13-Sep-90 Changing AMS headers and more. MAG@IBM.COM (1338) > Is there any way to change the "message composing" headers permanently > (without using "insert header"), either system wide or by individual > user? I need to add a couple of headers. > e.g. > To: > Subject: > change to: > To: > Subject: > New-header: In a reply to this message Nathaniel suggests using Ness. Unfortunately, a key piece needed will not be released until patch 7. At that time you can use Ness as follows: Add to ~/.messagesinit the lines load ness call ness-load where the file contains: extend "view:sendmessage" on menu "Add My Headers" sendmessage_add_header(currentwindow, "New Header: ") sendmessage_add_header(currentwindow, "Another Header: ") end menu on menu "Send/Post" sendmessage_send_message(currentwindow) sendmessage_add_header(currentwindow, "New Header 2: ") sendmessage_add_header(currentwindow, "Another Header 2: ") end menu end extend This will add one new menu item in SendMessage: "Add My Headers". When selected, two new headers will be added. It will also modify the "Send/Post" menu item so it adds a different pair of headers--of course they could be the same. Fred Hansen