File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ else if zotRunning is "No endpoint found" then
1212 end tell
1313 error number -128
1414else if zotRunning is " ready" then
15- set theReference to do shell script " /usr/bin/curl 'http://localhost:23119/better-bibtex/cayw?format=mmd'"
15+ set theReference to do shell script " /usr/bin/curl 'http://localhost:23119/better-bibtex/cayw?format=mmd' 2>/dev/null; exit 0 "
1616 tell application " Scrivener"
1717 activate
1818 repeat until application " Scrivener" is frontmost
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ else if zotRunning is "No endpoint found" then
1212 end tell
1313 error number -128
1414else if zotRunning is " ready" then
15- set theReference to do shell script " /usr/bin/curl 'http://localhost:23119/better-bibtex/cayw?format=pandoc'"
15+ set theReference to do shell script " /usr/bin/curl 'http://localhost:23119/better-bibtex/cayw?format=pandoc' 2>/dev/null; exit 0 "
1616 tell application " Scrivener"
1717 activate
1818 repeat until application " Scrivener" is frontmost
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ else if zotRunning is "No endpoint found" then
1212 end tell
1313 error number -128
1414else if zotRunning is " ready" then
15- set theReference to do shell script " /usr/bin/curl 'http://localhost:23119/better-bibtex/cayw?format=scannable-cite'"
15+ set theReference to do shell script " /usr/bin/curl 'http://localhost:23119/better-bibtex/cayw?format=scannable-cite' 2>/dev/null; exit 0 "
1616 tell application " Scrivener"
1717 activate
1818 repeat until application " Scrivener" is frontmost
You can’t perform that action at this time.
0 commit comments