Module: OmniAI::Tools::ComputerTool::Action
- Defined in:
- lib/omniai/tools/computer_tool.rb
Constant Summary collapse
- KEY =
press a key
"key"- HOLD_KEY =
hold a key
"hold_key"- MOUSE_POSITION =
get the current (x, y) pixel coordinate of the cursor on the screen
"mouse_position"- MOUSE_MOVE =
move the cursor to a specific (x, y) pixel coordinate on the screen
"mouse_move"- MOUSE_CLICK =
click at a specific x / y coordinate
"mouse_click"- MOUSE_DOWN =
press the mouse button down
"mouse_down"- MOUSE_DRAG =
drag the mouse to a specific x / y coordinate
"mouse_drag"- MOUSE_UP =
release the mouse button
"mouse_up"- MOUSE_DOUBLE_CLICK =
double click at a specific x / y coordinate
"mouse_double_click"- MOUSE_TRIPLE_CLICK =
triple click at a specific x / y coordinate
"mouse_triple_click"- TYPE =
type a string
"type"- SCROLL =
"scroll"- WAIT =
"wait"