set a to do shell script "/Applications/xcall.app/Contents/MacOS/xcall -url 'bear://x-callback-url/add-text?id=" & theBearIdentifier & "&mode=append&text=" & theNewEscapedBearNote & "' -activateApp NO"