Run an AppleScript source string synchronously.
Warning: blocks Hammerspoon's main thread until the script completes, so nothing else in Hammerspoon can run in the meantime. Prefer the async API.
The AppleScript source code to compile and execute.
An object { success, result, raw }, or null on XPC failure.
{ success, result, raw }
null
Run an AppleScript source string synchronously.
Warning: blocks Hammerspoon's main thread until the script completes, so nothing else in Hammerspoon can run in the meantime. Prefer the async API.