hold_key
Hold one or more keyboard keys for a specified duration to trigger shortcuts, key combinations, or press-and-hold actions in macOS automation.
Instructions
Hold one or more keys for a duration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name to hold | |
| duration_ms | No | Duration in milliseconds (default 1000) |