Méthode | 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. Displays the alphabet scanner. Also, if this is a new window that has come into focus, adds its contents to the word prediction temporary batch model for more contextual prediction of words
|
|
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
|
Méthode | Description | |
---|---|---|
createEditControlTextInterface ( |
Creates the text control agent for notepad
|
Méthode | Description | |
---|---|---|
getFileNameFromWindow ( ) : String |
Parses the title of the notepad window and extracts the file name from it
|
|
getNotepadText ( ) : String |
Returns text from the notepad window
|
|
launchLectureManager ( ) : System.Threading.Tasks.Task |
Launches lecture manager with text from the notepad window. This function returns only after lecture manager has exited
|
public CheckWidgetEnabled ( ACAT.Lib.Core.AgentManagement.CheckEnabledArgs arg ) : void | ||
arg | ACAT.Lib.Core.AgentManagement.CheckEnabledArgs | contains info about the widget |
Résultat | void |
public OnContextMenuRequest ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : void | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Foreground window info |
Résultat | 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 |
Résultat | 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 |
Résultat | void |
protected createEditControlTextInterface ( |
||
handle | Handle to the notepad window | |
focusedElement | automation element for the notepad text control | |
handled | bool | set to true if handled |
Résultat | ACAT.Lib.Core.AgentManagement.TextInterface.TextControlAgentBase |