As in the title, I'd like to be able to select whether TeXShop uses biber or BibTeX in the document rather than using the command line or changing the default in the TeXShop preferences.
For TeX engines this is easy; i.e. you can put the following somewhere near the top of your TeX file
% !TEX TS-program = pdflatex
to tell TeXShop to compile with pdflatex, regardless of the default in the preferences. Does such a directive exist for bibliography passers? I want to be able to hit ⇧+⌘+B for this. Latexmk provides the ability to do this, but I want to do compilations manually.
The solution involved a shell script. I've made this available on GitHub, so please feel free to use and improve it.