-
Notifications
You must be signed in to change notification settings - Fork 6
Actions that can be sent to Laitis
Sergey Mikolaytis edited this page Feb 7, 2018
·
4 revisions
Actions of enum ActionType:
| No. | Name | Description | Parameters |
|---|---|---|---|
0 |
OpenFile | Open file or app |
string File pathstring Command line arguments |
1 |
CloseApp | Close process |
string Process NameCloseAppBehaviour Process closing type |
2 |
Hotkeys | Press hotkeys |
string Hotkey (details)ButtonAction Press/Release/Click |
3 |
MouseMove | Move mouse cursor |
int Xint YMouseMoveType Move type |
4 |
Say | Pronounce text |
string Text to pronounce |
5 |
Type | Type text anywhere |
string Text to type |
6 |
PlayAudio | Play audio/sound |
string File path |
7 |
OpenURL | Open link |
string URL |
8 |
WebPageScript | Run JS script |
string JS script |
9 |
Pause | Wait between actions |
int milliseconds count |
10 |
IfProcessSelected | Condition, If process active |
string Process name |
11 |
IfProcessExists | Condition, IF process running |
string Process name |
12 |
IfWebsiteSelected | Condition, If active browser website is |
string URL part |
13 |
MouseButton | Press mouse button |
System.Windows.Input.MouseButton Mouse buttonButtonAction Button action type |
14 |
HttpWebRequest | Send HTTP request |
HttpWebRequestMethod HTTP Request Typestring URL |
15 |
SetVariableValue | Set User variable value |
string Variable namestring ValueArithmeticOperation Arithmetic Operation (can be blank)string operand (blank, if operation blank) |
16 |
IfVariableValue | Condition, If variable value equals |
string Variable NameVariableOperator Comparison typestring Value |
17 |
IfWebsiteNavValue | Condition, If website navigation is focused on element with selector |
string CSS selector |
18 |
ShowWindow | Show/ Hide/ Minimize/ Maximize process main window |
string Process NameShowWindowCommandType Window State |
19 |
WebPageFocus | Move focus on a webpage element |
string CSS selector |
20 |
WebPageClick | Click on webpage element |
string CSS selector |
21 |
WebPageRead | Read text value of webpage element |
string CSS selector |
22 |
WebPageNavigate | Navigate between webpage elements of specific selector to chose one elements of range |
string CSS selectorWebPageNavigateAction Navigation typeint element number/position |
23 |
WebPageNavClick | Click on selected webpage element by navigation feature |
string inner CSS selector of selected element on which you want to click, can be blank to click on selected document |
24 |
WebPagePopupOpen | Open a small window in the corner of the screen with a cut-down website content |
string Ссылкаstring CSS selector |
25 |
MouseMoveOn | Find the item in the active application window or taskbar and point the mouse at it |
string Element namestring Action Name (can be blank) |
26 |
Else | Part of the conditional statement | - |
27 |
EndIf | Part of the conditional statement | - |
28 |
Comment | Comment. Do nothing. |
string Text |
29 |
MouseScroll | Scroll Mouse Scroll |
MouseScrollType Scroll Type int Value |
30 |
TogglePackActivity | On/Off Pack |
string Pack nameStateSwitchingAction On/Off/Switch |
31 |
RandomActionBlock | Beginning of random action block | - |
32 |
Loop | Loop Action block |
int Loop executions count |
33 |
JetAim | Run Cursor Jet Aim Feature |
string default digits(can be blank) |
34 |
BatchScript | Execute .bat script |
string script |
35 |
VariableReplace | String replace in variable value |
string fromstring to |
36 |
WaitNextCommand | Wait next user phrase |
string Variable name, in which user phrase will be set |
37 |
ScheduleEvent | Schedule Event |
ScheduleEventType At/Afterstring DateTime/TimeSpan |
- All enum type parameters are converted to a number, and then to a string
- other types of parameters are converted into a string
- the list of actions will be expanded in the following Laitis updates