osmates vm key
Press keys, such as return, shift+a, ctrl+c, cmd+space or CTRL+ENTER.
osmates vm key <machine> <keys> ... [--repeating <repeating>]Keys go as named, whatever keyboard shortcuts the machine's window uses for a person. Keys a US keyboard lacks take their W3C names: intl-backslash (next to left Shift on ISO keyboards), intl-ro, intl-yen, keypad-comma, lang1 (かな, IME on), lang2 (英数, IME off), kana-mode, convert and non-convert. Machines on Apple Virtualization have only the keys of Apple's keyboards.
Arguments
<machine>RequiredThe machine's identifier or name.
<keys>RequiredRepeatableKeys to press in order, each a key with optional modifiers joined by +.
--repeating <repeating>Times to press them.
Default:
1