Last active
December 18, 2015 17:18
-
-
Save ackman678/5817239 to your computer and use it in GitHub Desktop.
A simple applescript to fetch a bibliographic citation (using author, journal title, year) from pubmed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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