Live Search Formatted/Unformatted Ref
The first takes a text selection in your word processor, that is a formatted or unformatted ref, removes unnecessary text/characters and searches for it within bookends using the Live-search field.
If I have text like:
Code: Select all
(Hubel and Wiesel, 1962)
Code: Select all
{Shipp et al., 2013, #54808}
Search selected text in Pubmed
The second takes a text selection, and pastes it into Bookends Pubmed search engine. Again it works in any app not just Scrivener. it means I can select an author, DOI or some words in my browser/word processor and quickly run a Pubmed search with Bookends (i.e. then easy to import into the database). For it to work optimally, it needs Bookends 12.7 beta (introducing the new cloud sync) and later to work, as Jon made a small change to the Pubmed browser to make it more reliable.
Search selected ID in Bookends
The third one simply takes a selected unique ID and selects that entry in Bookends.
How to use them?
You can read the raw code and download a ZIP here:
https://gist.github.com/iandol/c8fdd7884379adb8c2db
As they are plain Applescripts they normally live in ~/Library/Scripts, but to quickly access them you need some way to trigger them. I use Quicksilver, which automatically indexes ~/Library/Scripts, so you can easily trigger these scripts wherever you are. Alfred/Launchbar/Keyboard maestro and others also allow you to quickly trigger Applescripts, though each may do so in a slightly different way. OS X also has a built-in scripts menu you can display (Script Editor > Preferences > General to enable it); you then run them from the menu bar.