Tioga Macros Make Bold makes the selected text bold. Box adds (or removes) a box around the selected text. Sort sorts all but the first word in a list , , ... , ; DIRECTORY Rules, PopUpButtons, Imager, GraphicsButton, AtomButtons; IMPORTS Rules, PopUpButtons, Imager, GraphicsButton, AtomButtons Implement PROC turns a procedure-definition into a procedure implementation. ButtonDataToRope: PROC [val: REF] RETURNS [rope: ROPE]; Line-Fold: No adds the line "Line-Fold: No" to a message header. Subject: Changing Message Headers With a Button-Click To: YAM-Attendees^ Cc: bier Reply-To: bier This macro by Pavel Curtis uses search to find a message header, and then makes an addition to that header. -- Eric  NewlineDelimiter (cedardoc) styleItitleI centertitle Iblock CharProps Postfix-1.0 outlineBoxBearoff 1.0 outlineBoxThickness ButtonData=PopUpButton ( ((1 ApplyLook) "Make Bold" "Makes text bold") ) ButtonTargetTiogaButtonFeedback"( (MouseMoved ) )'MPostfix-1.0 outlineBoxBearoff 1.0 outlineBoxThickness ButtonDataPopUpButton ( ((SaveSelectionA PropForSelectedCharacter ClearPropName "Postfix" ClearPropValue "1.0 outlineBoxBearoff 1.0 outlineBoxThickness" RestoreSelectionA SetNodeProp) "1-Pixel Box" "Puts a 1-pixel wide box around the selected text") ((SaveSelectionA PropForSelectedCharacter ClearPropName "Postfix" ClearPropValue "1.0 outlineBoxBearoff 2.0 outlineBoxThickness" RestoreSelectionA SetNodeProp) "2-Pixel Box" "Puts a 2-pixel wide box around the selected text") ((SaveSelectionA PropForSelectedCharacter ClearPropName "Postfix" RestoreSelectionA RemoveNodeProp) "Clear Box" "Clears the box (and all other postfix properties) from the selected text") ) ButtonTargetTiogaButtonFeedback"( (MouseMoved ) )25Postfix-1.0 outlineBoxBearoff 1.0 outlineBoxThickness ButtonData\PopUpButton ( ((MakePointSelection GrowSelection GrowSelection GrowSelection CaretAfter 1 BackSpace ", " GrowSelection GrowSelection GrowSelection SortText DoSortAndRemoveDuplicates CaretAfter 1 BackSpace 1 BackSpace ";" ) "Sort DIRECTORY" "Sorts single-node DIRECTORY statements") () ((MakePointSelection GrowSelection GrowSelection GrowSelection CaretBefore MakePointSelection GrowSelection GrowSelection CaretAfter 1 GoToNextChar Break GrowSelection GrowSelection GrowSelection CaretAfter ", " GrowSelection GrowSelection GrowSelection SortText DoSortAndRemoveDuplicates CaretAfter 1 BackSpace 1 BackSpace GrowSelection GrowSelection GrowSelection CaretBefore 1 BackSpace) "Sort IMPORTS" "Sorts single-node IMPORTS statements") ) ButtonTargetTiogaButtonFeedback"( (MouseMoved ) )LPIdefaultcodek O9NO9@JPostfix-1.0 outlineBoxBearoff 1.0 outlineBoxThickness ButtonDataPopUpButton ( (("PUBLIC " GrowSelection GrowSelection GrowSelection SetMesaLooks CaretAfter 1 BackSpace ClearCaretLooks " = {" Break Nest "};" 1 GoToPreviousNode Break Nest) "Implement PUBLIC" "Turns a procedure definition into an implementation skeleton for a PUBLIC PROC") ) ButtonTargetTiogaButtonFeedback"( (MouseMoved ) )>LMO n7MM Postfix-1.0 outlineBoxBearoff 1.0 outlineBoxThickness ButtonDataPopUpButton ( ((SaveSelectionA ClearSearchFor "To:*" MatchNodes MatchPattern SearchAnywhere MakeNotPendingDelete Break 18 ApplyLook 1 ApplyLook "Line-Fold" ClearLooks ": No" RestoreSelectionA) "Line-Fold: No" "Add a "Line-Fold: No" line to the message header") ) ButtonTargetTiogaButtonFeedback"( (MouseMoved ) )3@Obs.5OOObJIbodykPP