Read a file from disk and execute its contents as AppleScript 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.
Absolute path to the AppleScript source file.
An object { success, result, raw }, or null on XPC failure.
{ success, result, raw }
null
Read a file from disk and execute its contents as AppleScript 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.