Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A simple applescript to fetch a bibliographic citation (using author, journal title, year) from pubmed.
display dialog "PubMed single citation matcher" & return & return & ¬
"Authors last name:" default answer "Kaas"
set author to the text returned of the result
display dialog "Journal Title: (Type a \" + \" in place of any spaces)" default answer "trends+neurosci"
set journal to the text returned of the result
display dialog "Publication date:" default answer "1995"
set yeartext to the text returned of the result
set target_URL to "http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=search&db=pubmed&term=" & author & "[AU]+AND+" & journal & "[TA]+AND+" & yeartext & "[DP]"
open location target_URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.