Skip to main content

osascript_argvs

Function osascript_argvs 

Source
pub fn osascript_argvs(
    cmd: &InjectionCommand,
) -> Result<Vec<Vec<String>>, AppError>
Expand description

Build osascript -e <script> argv(s) (macOS). scroll is unsupported, and a combo must have exactly one non-modifier key.

ยงErrors

AppError::validation for a missing payload, an unknown special key, a multi-key combo, or an unsupported scroll.