Class AutotextTriggerArgs
Arguments for actions of autotext triggers. You can use functions AutotextTriggerArgs.Replace and AutotextTriggerArgs.Menu to replace user-typed text.
public class AutotextTriggerArgs : TriggerArgs
Namespace: Au.Triggers
Assembly: Au.dll
Constructors
| Name | Description |
|---|---|
| AutotextTriggerArgs(AutotextTrigger, wnd, string, bool) |
Properties
| Name | Description |
|---|---|
| HasPostfixChar |
|
| ShiftLeft | If |
| Text | The user-typed text. If AutotextTriggerArgs.HasPostfixChar== |
| Trigger | |
| Window | The active window. |
Methods
| Name | Description |
|---|---|
| Confirm(string) | Shows a 1-item menu below the text cursor (caret) or mouse cursor. |
| Menu(params TAMenuItem[]) | Creates and shows a menu below the text cursor (caret) or mouse cursor, and calls AutotextTriggerArgs.Replace. |
| Replace(string, string) | Replaces the user-typed text with the specified text or/and HTML. |
| Replace2(params KKeysEtc[]) | Replaces the user-typed text with the specified text, keys, clipboard data, etc. |
| SendPostfix() | If AutotextTriggerArgs.HasPostfixChar== |
| ToString() |