Property | Type | Description | |
---|---|---|---|
outlookControlSubType | OutlookControlSubType | ||
outlookWindowType | OutlookWindowTypes |
Property | Type | Description | |
---|---|---|---|
autoSwitchScanners | bool | ||
controlType | |||
outlookInspector | IOutlookInspector |
Method | Description | |
---|---|---|
CheckWidgetEnabled ( ACAT.Lib.Core.AgentManagement.CheckEnabledArgs arg ) : void |
Invoked to set the 'enabled' state of a widget. This will depend on the current context.
|
|
OnContextMenuRequest ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : void |
Displays the contextual menu
|
|
OnFocusChanged ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, bool &handled ) : void |
Invoked when the foreground window focus changes. Display the scanner depending on the context.
|
|
OnFocusLost ( ) : void |
Focus shifted to another app. This agent is getting deactivated.
|
|
OnRunCommand ( String command, object commandArg, bool &handled ) : void |
Invoked to run a command from all the Outlook contextual menus
|
|
OutlookAgentBase ( ) : System |
Initializes an instance of hte class
|
Method | Description | |
---|---|---|
IsOutlookInstalled ( ) : bool | ||
actuateStandardControl ( |
Actuates a standard windows control such as a button, checkbox etc.
|
|
attachFile ( ) : void |
Attaches a file to the current email being composed. Launches the file browser to get the file to attach from the user. Sends a command to bring up the Outlook "Insert File" dialog. Inserts the filename into the file name field in the dialog
|
|
createEditControlTextInterface ( |
Creates an edit control text agent to manipulate text in the target text control that's currently active. the 'handled' param is set to true if it was handled successfully.
|
|
createKeyLoggerTextInterface ( |
Creates a keylogger interface for all those edit controls that don't support the TextPattern. Depending on the type of the field we enable/disable abbreviations, smart punctuations, learning and spell check
|
|
getContextualMenuForWindow ( OutlookWindowTypes windowType, String &title ) : String |
Returns the name of the contextual menu for the window/element currently in focus.
|
|
getOutlookVersion ( ) : int |
Returns the outlook version install on the client machine. 14.0 is Outlook 2010
|
|
gotoNextField ( ) : void |
Tabs to the next field in the window
|
|
gotoPreviousField ( ) : void |
Tabs to the previous field in the window
|
|
identifyWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, OutlookControlSubType &subType ) : OutlookWindowTypes |
Identify the top level window in Outlook
|
|
isAppointmentSchedulingWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, OutlookControlSubType &subType ) : bool |
Is the active window the Appointement scheduling window?
|
|
isCalendarWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : bool |
Is the active window the Outlook calendar window?
|
|
isContactsWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : bool |
Is the active window the "Contacts" window?
|
|
isEmailMsgWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, bool &isNewMessage, OutlookControlSubType &subType ) : bool |
Is the active window a new or existing open email window?
|
|
isInboxWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : bool |
Is the active window the email inbox window?
|
|
isNotesWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : bool |
Is the active window the "Contacts" window?
|
|
isOpenAppointmentWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, OutlookControlSubType &subType ) : bool |
Is the active window an open Appointment window?
|
|
isOpenContactWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, OutlookControlSubType &subType ) : bool |
Is the active window an open "Contact" window?
|
|
isOpenNoteWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, OutlookControlSubType &subType ) : bool |
Is the active window an open Outlook "Note" window?
|
|
isOpenTaskWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, OutlookControlSubType &subType ) : bool | ||
isTasksWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : bool |
Is the active window an open Task window?
|
Method | Description | |
---|---|---|
createOutlookInspector ( ) : IOutlookInspector |
Creates the outlook inspector depending on the version of Outlook installed on the client computer. Returns default inspector if outlook is not installed or is the unsupported version.
|
|
getFileToAttach ( ) : System.Threading.Tasks.Task |
Activates the file browser agent to get the name of the file to attach
|
|
isMessageBodyField ( OutlookControlSubType subType ) : bool |
Checks if the specified window element is a message body field
|
|
isSubjectField ( OutlookControlSubType subType ) : bool |
Checks if the specified window element is a 'Subject' field
|
|
isTopLevelWindow ( OutlookWindowTypes windowType ) : bool |
Checks if the specified window is a top-level window in Outlook
|
public CheckWidgetEnabled ( ACAT.Lib.Core.AgentManagement.CheckEnabledArgs arg ) : void | ||
arg | ACAT.Lib.Core.AgentManagement.CheckEnabledArgs | contains info about the widget |
return | void |
public OnContextMenuRequest ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : void | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Foreground window info |
return | void |
public OnFocusChanged ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, bool &handled ) : void | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Foreground window info |
handled | bool | set to true if handled |
return | void |
public OnRunCommand ( String command, object commandArg, bool &handled ) : void | ||
command | String | The command to execute |
commandArg | object | Optional arguments for the command |
handled | bool | set this to true if handled |
return | void |
protected actuateStandardControl ( |
||
ctrlType | Type of the control | |
return | bool |
protected createEditControlTextInterface ( |
||
handle | handle to the active window | |
focusedElement | the active text control | |
handled | bool | true if handled |
return | ACAT.Lib.Core.AgentManagement.TextInterface.TextControlAgentBase |
protected createKeyLoggerTextInterface ( |
||
handle | handle of the window | |
editTextElement | edit control automation element | |
return | ACAT.Lib.Core.AgentManagement.TextInterface.TextControlAgentBase |
protected getContextualMenuForWindow ( OutlookWindowTypes windowType, String &title ) : String | ||
windowType | OutlookWindowTypes | Type of window |
title | String | returns the title |
return | String |
protected identifyWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, OutlookControlSubType &subType ) : OutlookWindowTypes | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Active window info |
subType | OutlookControlSubType | The focused Outlook window control element |
return | OutlookWindowTypes |
protected isAppointmentSchedulingWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, OutlookControlSubType &subType ) : bool | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Active window info |
subType | OutlookControlSubType | The focused Outlook window control element |
return | bool |
protected isCalendarWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : bool | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Active window info |
return | bool |
protected isContactsWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : bool | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Active window info |
return | bool |
protected isEmailMsgWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, bool &isNewMessage, OutlookControlSubType &subType ) : bool | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Active window info |
isNewMessage | bool | true if this is a new email window |
subType | OutlookControlSubType | The focused Outlook window control element |
return | bool |
protected isInboxWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : bool | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Active window info |
return | bool |
protected isNotesWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : bool | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Active window info |
return | bool |
protected isOpenAppointmentWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, OutlookControlSubType &subType ) : bool | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Active window info |
subType | OutlookControlSubType | The focused Outlook window control element |
return | bool |
protected isOpenContactWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, OutlookControlSubType &subType ) : bool | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Active window info |
subType | OutlookControlSubType | The focused Outlook window control element |
return | bool |
protected isOpenNoteWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, OutlookControlSubType &subType ) : bool | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Active window info |
subType | OutlookControlSubType | The focused Outlook window control element |
return | bool |
protected isOpenTaskWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, OutlookControlSubType &subType ) : bool | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | |
subType | OutlookControlSubType | |
return | bool |
protected isTasksWindow ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : bool | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Active window info |
return | bool |
protected ControlType,System.Windows.Automation controlType | ||
return |
public OutlookControlSubType outlookControlSubType | ||
return | OutlookControlSubType |
protected IOutlookInspector outlookInspector | ||
return | IOutlookInspector |