RDOQuickStepAction object |
RDOQuickStepAction object represents
one of the actions performed by the quick step.
Returned by:
RDOQuickStepActions.Item,
RDOQuickStepActions.Add
RDOQuickStepAction object exposes
properties and methods common to all actions.
Other specific actions are derived
from from RDOQuickStepAction interface:
Copy/Move to folder actions:
RDOQuickStepActionMoveToFolder
RDOQuickStepActionCopyToFolder
RDOQuickStepActionAlwaysMoveMessagesInThisConversation
New message/reply/forward
actions:
RDOQuickStepActionNewMessage,
RDOQuickStepActionForward,
RDOQuickStepActionReply,
RDOQuickStepActioReplyAll,
RDOQuickStepActionForwardAsAttachment
RDOQuickStepActionNewMeeting,
RDOQuickStepActionReplyWithMeeting
Miscellaneous actions
RDOQuickStepActionSetImportance
RDOQuickStepActionCategorizeMessage
RDOQuickStepActionFlagMessage
Actions that do not expose
properties or methods beyond those exposed by the RDOQuickStepAction object
RDOQuickStepActionDeleteMessage
RDOQuickStepActionPermanentlyDeleteMessage
RDOQuickStepActionMarkAsRead
RDOQuickStepActionMarkAsUnread
RDOQuickStepActionClearCategories
RDOQuickStepActionClearFlags
RDOQuickStepActionMarkComplete
RDOQuickStepActionCreateTaskWithAttachment
RDOQuickStepActionCreateTaskWithTextOfMessage
RDOQuickStepActionCreateAppointmentWithAttachment
RDOQuickStepActionCreateAppointmentWithTextOfMessage
RDOQuickStepActionIgnoreMessagesInThisConversation
The example below creates a quick
step with an action that forwards the selected message(s) to the specified user.
qakForward = 16
set Session = CreateObject("Redemption.RDOSession")
Session.MAPIOBJECT = Application.Session.MAPIOBJECT
set QuickSteps = Session.Stores.DefaultStore.QuickSteps
set QuickStep = QuickSteps.Add("Forward to manager")
set Action = QuickStep.Actions.Add(qakForward)
set Recip = Action.Recipients.Add("user@domain.com")
Recip.Resolve
Action.Subject = "FYI: <Subject>"
QuickStep.Save |
Properties
Methods
|
Derived from:
IDispatch
|
|
Properties |
|
AsXML |
String, read/write.
Returns or sets a string representing the action in the XML format as
used when storing the parent quick step object.
|
|
Kind |
Returns rdoQuickStepActionKind enum representing the kind of action.
Given the value of the property, you can decide who to cast this object.
E.g. if Kind is qakForward, RDOQuickStepAction object can be cast to
RDOQuickStepActionForward that exposes properties specific to that kind
of action.
qakNoAction = 0x00000000
qakMoveToFolder = 0x00000001
qakCopyToFolder = 0x00000002
qakDeleteMessage = 0x00000003
qakPermanentlyDeleteMessage = 0x00000004
qakMarkAsRead = 0x00000005
qakMarkAsUnread = 0x00000006
qakSetImportance = 0x00000007
qakCategorizeMessage = 0x00000008
qakClearCategories = 0x00000009
qakFlagMessage = 0x0000000A
qakClearFlag = 0x0000000B
qakMarkComplete = 0x0000000C
qakCreateTaskWithAttachment = 0x0000000D
qakCreateTaskWithText = 0x0000000E
qakNewMessage = 0x0000000F
qakForward = 0x00000010
qakReply = 0x00000011
qakReplyAll = 0x00000012
qakReplyWithMeeting = 0x00000013
qakForwardMessageAsAttachment = 0x00000014
qakNewMeeting = 0x00000015
qakCreateAppointmentWithAttachment = 0x00000016
qakCreateAppointmentWithText = 0x00000017
qakAlwaysMoveMessagesInThisConversation = 0x00000018
qakIgnoreMessagesInThisConversation = 0x00000019 |
see the example above |
|
|
|
|
Methods |
|
Delete |
Deletes the action |
|
|
Copy/Move to folder actions:
RDOQuickStepActionMoveToFolder
RDOQuickStepActionCopyToFolder
RDOQuickStepActionAlwaysMoveMessagesInThisConversation
|
|
Derived from: RDOQuickStepAction
|
|
Properties |
|
AlwaysAsk |
Boolean. read/write.
Retrieves or sets the value indicating whether the user should always be
asked for the folder to copy/move the message
|
|
Folder |
RDOFolder, read/write.
Retrieves or sets the value of the folder where the messages will be
copied or moved. |
Add a quick step that moves the selected message(s) to the
Inbox folder
qakMoveToFolder = 1
set Session = CreateObject("Redemption.RDOSession")
Session.MAPIOBJECT = Application.Session.MAPIOBJECT
set QuickSteps = Session.Stores.DefaultStore.QuickSteps
set QuickStep = QuickSteps.Add("Move to Inbox")
set Folder = Session.GetDefaultFolder(olFolderInbox)
set Action = QuickStep.Actions.Add(qakMoveToFolder)
Action.Folder = Folder
QuickStep.Save |
|
New message/reply/forward actions
RDOQuickStepActionNewMessage,
RDOQuickStepActionForward,
RDOQuickStepActionReply,
RDOQuickStepActioReplyAll,
RDOQuickStepActionForwardAsAttachment
RDOQuickStepActionNewMeeting,
RDOQuickStepActionReplyWithMeeting
|
|
Derived from: RDOQuickStepAction
|
|
Properties |
|
AutomaticallySend |
Boolean, read/write
Determines whether the message is sent automatically without first being
shown to the user.
|
- |
Body |
String, read/write.
Retrieves or sets the body of the message that will be sent.
|
|
Flag |
Variant, read/write.
Determines the flag that will be set on the new message.
Can be either one of the olMarkInterval enums or an empty variant (if no
flag is set):
olMarkToday = 0x00000000
olMarkTomorrow = 0x00000001
olMarkThisWeek = 0x00000002
olMarkNextWeek = 0x00000003
olMarkNoDate = 0x00000004
olMarkComplete = 0x00000005
|
|
Importance |
Variant, read/write.
Determines the importance that will be set on the new message.
Can be either one of the rdoImportance enums or an empty variant (if no
importance is set):
olImportanceLow = 0x00000000
olImportanceNormal = 0x00000001
olImportanceHigh = 0x00000002
|
|
Recipients |
Returns RDORecipients collection with the
new message recipients.
|
qakForward = 16
set Session = CreateObject("Redemption.RDOSession")
Session.MAPIOBJECT = Application.Session.MAPIOBJECT
set QuickSteps = Session.Stores.DefaultStore.QuickSteps
set QuickStep = QuickSteps.Add("Forward to manager")
set Action = QuickStep.Actions.Add(qakForward)
set Recip = Action.Recipients.Add("user@domain.com")
Recip.Resolve
Action.Subject = "FYI: <Subject>"
QuickStep.Save
|
Subject |
String, read/write.
Determines the subject of the new message.
"<Subject>" will be replaced by the subject of the original message
being processed by the action.
|
see above |
|
Importance action:
RDOQuickStepActionSetImportance
|
|
Derived from: RDOQuickStepAction
|
|
Properties |
|
Importance |
rdoImportance , read/write.
Determines the importance set on the message. |
|
|
Category action:
RDOQuickStepActionCategorizeMessage
|
|
Derived from: RDOQuickStepAction
|
|
Properties |
|
AlwaysAsk |
Boolean, read/write.
If true, the user will be always prompted to select the category.
|
|
Category |
String, read/Write.
Retuns or sets the the category.
|
|
|
Flag action:
RDOQuickStepActionFlagMessage
|
|
Derived from: RDOQuickStepAction
|
|
Properties |
|
Flag |
olMarkInterval , read/write.
Determines the flag that will be set on the message.
olMarkToday = 0x00000000
olMarkTomorrow = 0x00000001
olMarkThisWeek = 0x00000002
olMarkNextWeek = 0x00000003
olMarkNoDate = 0x00000004
olMarkComplete = 0x00000005
|
|
|
Miscelaneous actions:
RDOQuickStepActionDeleteMessage
RDOQuickStepActionPermanentlyDeleteMessage
RDOQuickStepActionMarkAsRead
RDOQuickStepActionMarkAsUnread
RDOQuickStepActionClearCategories
RDOQuickStepActionClearFlags
RDOQuickStepActionMarkComplete
RDOQuickStepActionCreateTaskWithAttachment
RDOQuickStepActionCreateTaskWithTextOfMessage
RDOQuickStepActionCreateAppointmentWithAttachment
RDOQuickStepActionCreateAppointmentWithTextOfMessage
RDOQuickStepActionIgnoreMessagesInThisConversation
|
|
Derived from: RDOQuickStepAction
|
|
These RDOQuickStepAction descendants do not expose any properties or
methods other than those exposed by the the RDOQuickStepAction object. |
|
|