Send to Bear silently
Send draft to Bear Notes silently in background
// create a local file in App documents let method = "execute"; let script = `on execute(content) do shell script "/bin/bash -c \\\\"open -gj \\\\\\\\\\\\"bear://x-callback-url/create?show_window=no&text=" & content & "\\\\\\\\\\\\"\\\\\"" end execute`; let runner = AppleScript.create(script); runner.execute(method, [encodeURIComponent(draft.content)]);
After Success Trash Notification Info Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.