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.
Parameters
source: string
The AppleScript source code to compile and execute.
Returns Record<string,any>|null
An object { success, result, raw }, or null on XPC failure.
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.