Skip to main content

Scripting Functions

dev.scripting - wire path s - generated from fwMenuScripting.

launch_script

Launch Script.

Wire command: s\a

Returns: none (Ok/Err only)

dev.scripting.launch_script() -> Result
ow_status ow_scripting_launch_script(ow_device* dev);
dev.scripting().launch_script() -> Result<(), OwError>

The C and Rust signatures above are also the WASM guest signatures - the device API surface is identical; only the transport differs (ow_open_wasm(&dev) in C, OneWili::open() in Rust).

dev.scripting.launch_script() # check dev.ok