Read a file from disk and execute its contents as AppleScript.
The file is read in the main process before being sent to the XPC
helper. If the file cannot be read the promise resolves immediately
with { success: false, result: null, raw: "Failed to read file: <path>" }.
Read a file from disk and execute its contents as AppleScript. The file is read in the main process before being sent to the XPC helper. If the file cannot be read the promise resolves immediately with
{ success: false, result: null, raw: "Failed to read file: <path>" }.