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
12
12
end tell
13
13
error number -128
14
14
else 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 "
16
16
tell application " Scrivener"
17
17
activate
18
18
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
12
12
end tell
13
13
error number -128
14
14
else 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 "
16
16
tell application " Scrivener"
17
17
activate
18
18
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
12
12
end tell
13
13
error number -128
14
14
else 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 "
16
16
tell application " Scrivener"
17
17
activate
18
18
repeat until application " Scrivener" is frontmost
You can’t perform that action at this time.
0 commit comments