Dellu wrote:
Hey Nhaps
A question: if you modified an entry inside BE; and re-exported it to your Bib library, will it overwrite it (using the unique id) or duplicate it? can you share the Apple script you are using?
Hey Dellu,
When you modify the reference in the main window, the copy in the static folder is automatically updated. They are actually one and the same. It is overwritten if you use the same bib name but if you change it then it is not, because it will create a second bib file. I can gladly share my Apple script but here are some caveats:
1. I am not versed in coding, this took me hours to get done. If you can improve on it that would be great.
2. You must fill in the fields of Biblio - Bibliography prior to using the script
3. You must select the static folder prior to using the script otherwise your whole database will be copied to the bib file.
Below you can find the script content. I saved it as an app onto my dock for easy access, next to BE icon. All you need is one click to deploy it and the bib file will be generated. Now that's nifty!
Code: Select all
tell application "Bookends"
activate
end tell
tell application "System Events"
tell process "Bookends"
keystroke "h" using {option down, shift down, command down}
delay 0.5
click menu item "Mark All References" of menu 1 of menu item "Mark" of menu 1 of menu bar item "Refs" of menu bar 1
end tell
end tell
tell application "System Events"
tell process "Bookends"
keystroke "b" using {shift down, command down}
keystroke return
delay 0.5
keystroke return
delay 0.5
keystroke "r" using {command down}
end tell
end tell