RDOQuickSteps object

 

RDOQuickSteps collection represents Quick Steps used by Outlook 2010.

Note that since the RDOQuickSteps collection  is exposed on the MAPI store level, it is possible to create and access Quick Steps for a remote mailbox retrieved using RDOSession.GetSharedMailbox.

 

Returned by:

RDOStore2.QuickSteps, RDOPstStore.QuickSteps, RDOExchangeMailboxStore.QuickSteps

 

The example below logs to the default profile and prints out the names of all quick steps in default store.

set Session = CreateObject("Redemption.RDOSession")
Session.Logon
set QuickSteps = Session.Stores.DefaultStore.QuickSteps
for each QuickStep in QuickSteps
    Debug.Print "----------------"
    Debug.Print QuickStep.Name
next

 

Properties

Methods

 


Derived from: IDispatch


Properties


Count integer, read-only.
Returns the number of quick steps in the collection
 

Methods


Add(Name) Add a new quick step (RDOQuickStep) with the given name
Name - the name of the quick step to be added

'Add a quick step that marks the selected message "Due Tomorrow"
qakFlagMessage = 10
set Session = CreateObject("Redemption.RDOSession")
Session.MAPIOBJECT = Application.Session.MAPIOBJECT
set QuickSteps = Session.Stores.DefaultStore.QuickSteps
set QuickStep = QuickSteps.Item("Tomorrow")
if QuickStep Is Nothing Then
    set
QuickStep = QuickSteps.Add("Tomorrow")
   
set Action = QuickStep.Actions.Add(qakFlagMessage)
   
Action.Flag = olMarkTomorrow
   
QuickStep.Save
End If
Item(IndexOrName) Retrieves RDOQuickStep object with the given index (1 through Count) or name

IndexOrName - integer index (1 through Count) or a string with the name of the quick step. If a string is passed and no quick action with the given name exists, NULL will be returned.
See example above
Remove(Index) Deletes a quick action with the with the given index (1 through Count).
See also RDOQuickStep.Delete

Index - integer index of the action be deleted (1 through Count)
 
RestoreDefaults Resets quick steps to the default settings. All custom quick steps will be removed and 5 default quick steps restored.