Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion QuoteFixMacro.bas
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ Private Function getOutlookHeader(ByRef BodyLines() As String, ByRef lineCounter
Next lineCounter

'skip OUTLOOK_HEADERFINISH
lineCounter = lineCounter + 1
'lineCounter = lineCounter + 1

End Function

Expand Down
31 changes: 31 additions & 0 deletions ThisOutlookSession.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Option Explicit
Private WithEvents oExpl As Explorer
Private WithEvents oItem As mailitem

Private Sub Application_Startup()
Set oExpl = Application.ActiveExplorer
End Sub

Private Sub oExpl_SelectionChange()
On Error Resume Next
Set oItem = oExpl.Selection.item(1)
End Sub

Private Sub oItem_Reply(ByVal Response As Object, Cancel As Boolean)
'QuoteFixMacro will open _a new_ reply, therefore the original one will be _always_ cancelled
Cancel = True
Call QuoteFixMacro.FixedReply
End Sub

Private Sub oItem_ReplyAll(ByVal Response As Object, Cancel As Boolean)
'QuoteFixMacro will open _a new_ reply, therefore the original one will be _always_ cancelled
Cancel = True
Call QuoteFixMacro.FixedReplyAll
'Call QuoteFixMacro.FixedReplyAllEnglish
End Sub

Private Sub oItem_Forward(ByVal Response As Object, Cancel As Boolean)
'QuoteFixMacro will open _a new_ reply, therefore the original one will be _always_ cancelled
Cancel = True
Call QuoteFixMacro.FixedForward
End Sub