Re: [Bibdesk-users] pdfmeat

2014-01-25 Thread Fischlin Andreas
Dear Ken, On 25/01/2014, at 03:11 , Ken Mankoff wrote: Ok, it seems there is no mechanism to parse the raw BibTeX record (it is read-only in BibDesk AppleScript). Of course not. You can fully read and write BibDesk records using AppleScripts. It is however, not fully clear what you mean by

Re: [Bibdesk-users] pdfmeat

2014-01-25 Thread Fischlin Andreas
Sorry, I had a mistake in the AppleScript: Please replace tell aPub with tell thePub. Regards, Andreas What seems to be missing is a loop over all records in current selection, which may look similar to following set thePubs to selection if (count of thePubs) 0 then repeat with

Re: [Bibdesk-users] pdfmeat

2014-01-25 Thread Christiaan Hofman
On Jan 25, 2014, at 3:11, Ken Mankoff wrote: Ok, it seems there is no mechanism to parse the raw BibTeX record (it is read-only in BibDesk AppleScript). I guess a simple work-around is to import an entirely new record using the pdfmeat.py output, link the old file (the file link being

Re: [Bibdesk-users] pdfmeat

2014-01-25 Thread Ken Mankoff
Hi Christiaan and other AppleScript experts, On Sat, Jan 25, 2014 at 5:13 AM, Christiaan Hofman cmhof...@gmail.comwrote: On Jan 25, 2014, at 3:11, Ken Mankoff wrote: It is probably easier to copy the fields from the (temporary) new item you get from pdfmeat to the old item. If they're

Re: [Bibdesk-users] pdfmeat

2014-01-25 Thread Ken Mankoff
Ok all done! Thanks for those who supplied some tips. With this AppleScript and a working pdfmeat.py (test it from the command line), I can drag a PDF into BibDesk, select it, and populate it with all of the data from Google Scholar. -k. *property* useFileURL : *true* -- use relative or

Re: [Bibdesk-users] pdfmeat

2014-01-25 Thread Roberto
Sounds like it would be a great improvement if it comes with the standard Bibdesk in the future. Great On Sat, Jan 25, 2014 at 3:59 PM, Ken Mankoff mank...@gmail.com wrote: Ok all done! Thanks for those who supplied some tips. With this AppleScript and a working pdfmeat.py (test it from the

Re: [Bibdesk-users] pdfmeat

2014-01-25 Thread Christiaan Hofman
On Jan 25, 2014, at 15:59, Ken Mankoff wrote: Ok all done! Thanks for those who supplied some tips. With this AppleScript and a working pdfmeat.py (test it from the command line), I can drag a PDF into BibDesk, select it, and populate it with all of the data from Google Scholar. -k.

Re: [Bibdesk-users] pdfmeat

2014-01-25 Thread Matthew Heun
Great work! I've been watching this development with much interest, and I really hope this feature is rolled into BibDesk soon. Autofill is the feature I miss most from Papers. It is the one thing that slows me down compared to Papers. So, this is awesome! Thanks to everyone who worked on

Re: [Bibdesk-users] pdfmeat

2014-01-25 Thread Ken Mankoff
So I've put the code here: https://github.com/mankoff/BibDeskAppleScripts Unfortunately it is a binary blob so merging changes isn't easy. I have it so I can edit AppleScript in emacs as plain ASCII, so I guess a hook like that could be built into git, but... Anyway, there is a lot more I plan

Re: [Bibdesk-users] pdfmeat

2014-01-25 Thread Ken Mankoff
OK, perhaps the last post for now on this project https://github.com/mankoff/BibDeskAppleScripts It seems like it would be quite easy to get full PDF download from any site plus any metadata provided by either Google Scholar or the publisher. The key is to use 3rd party tools. pdfmeat.py does an