macaroni

sendKeys

Description:
The sendKeys executor is used to simulate keys being sent to the application in the foreground.

Parent: execute, then, else

Value (simple form): string specifying the keys to be sent
Value (key/value form):

# simple form
- sendKeys: (string)

# simple example
- sendKeys: '{alt-d}https://crbn.us'

# key/value form
- sendKeys: (string, required)
  times: (string, optional)

# key/value example
- sendKeys: '{right}'
  times: 5

EXAMPLE:

commands:
- name: 'TEAMS: be right back'
  triggers:
  - "[i'll] be right back"
  execute:
  - app: '| Microsoft Teams'
  - sendKeys: '{ctrl-e}{500 wait}{esc}/brb{500 wait}{enter}'

Status: ✅ IMPLEMENTED
Consider: