Copies notes from PDFs open in SKIM to DEVONthink 2.
For each PDF open in Skim, a correspondingly named folder is created in DEVONthink 2.
SKIM notes are exported to the DT folder as RTF records. If the PDF is not in the target folder, it is indexed and linked from DevonThink.
Exported note records are placed in the group currently selected in DevonThink, or in a new sub-group if the selected group contains any PDFs other than the one open in Skim.
If no active database is selected in DT2, the notes go to the DT2 Global Inbox.
USAGE
Open DEVONThink 2 (and, optionally, select a folder to receive the exports),
Hi, thank you very much for this script which I use for neurophysiology literature note taking. However, I would like to turn of the indexing and linking to the pdf which is stored in a different folder. I have looked at your script but cannot make out what line(s) I should mark as comments to stop this function.
Thanks
– FIND OR CREATE A REFERENCE TO THIS DOCUMENT IN THAT FOLDER
set lstDuplic to (children of oLocn where path is strPDFPath)
–if length of lstDuplic < 1 then
–set oPDFRec to indicate strPDFPath to oLocn
–else
–set oPDFRec to first item of lstDuplic
–end if
But, this doesn’t work. Could you please tell me what I should do?
Thanks
Thank you for this, but whenever I try to open the scrpt file applescript editor crashes.
Also, if possible I would like the indexed pdf not to be there, but a link to the pdf within the notes is good. The point being that when I do a search on my notes I would like them to be searched but not the “whole” pdf that is also displayed via an indexed link. It somewhat defeats the purpose of extracting highlighted text snippets if the whole paper is also searched because it is indexed completely. Also, I already have indexed all the pdfs in my “papers” folder. But, as I said, I can’t open the script to have a look at it.
Thanks
Wolfgang
The text version should compile under any recent version of OS X.
If the property pblnIndexPDF is set to false, the notes will contain a link to the original position of the PDF file, rather than to an indexing record in DT.
Thank you very much, this works very well.
I am very grateful and do not want to impose, but wonder it there is anyway to turn of the highlighting which is carried over from skim.
Your programme is a major boost to productivity for scientist dealing with a huge literature load.
Sincerely,
Wolfgang
One thing I am trying to modify the sciprt is expanding the width of the note. Default is about 5in. After I increased the font from 12 to 16, the 5inch is now look quite narrow. I tried to find out where we can change this, but i really don’t know.
Would anyone point out the position where I can change the width to something like ~7in.
In my case, my notes’ font becomes Courier. I would like to change it to something else.
I searched your script and found only one place mentioning about fonts.
I tried differents fonts name instead of “lucida grande” and “sans-serif.” But, it seems that’s not how I should do. Is there an easy way to change the default font?
Personally, when I want to run your script, I find a couple of pdf articles open most of time. In order to import notes from a pdf, I have to close other pdfs. Is there an easy way I can import notes from the front pdf only?
I’m a newbie when it comes to scripts and DTPO – I’d love to use this one, but when I try to run it as directed via clicking “run” in AppleScript (with DT open and the PDF open in Skim) I get this error message:
“error “Can’t get reference URL of missing value.” number -1728 from «class rURL» of missing value”
I was wondering if there was anyway to put them together so that:
If I highlight text in skim ‘green’ (or any other colour), then they will end up highlighted in that colour in the rtf file (and not all just yellow).
Use a custom url scheme that doesn’t require a pdf alias.
If any applescript experts are out there, it’d be nice to get a “yes, possible” or “not possible” answer. I’ve tried some “tweaking” but I can’t seem to get the script to get the colour of the highlight in skim.
I’d appreciate any help! If not, I think I’ll have to choose between having useful little chunks of information vs keeping certain information (key quotes, summary, methods, references to follow = types of highlights).