On Jun 18, 2010, at 14:28, Charles Turner wrote:

> On Jun 18, 2010, at 7:57 AM, Christiaan Hofman wrote:
> 
>> These two texts are very different things, and don't need to be equal.
> 
> Oh, yes, of course.
> 
>> Again, because they ARE empty, as Preview/Acrobat does not set them. When I 
>> say that Skim sets the text I mean when you create the highlight in Skim.
> 
> OK. So I wrote a hack to convert Preview/Acrobat-style highlights to Skim 
> highlights, and populate the note text. I had some Applescript trouble with 
> the references in a note's selection, so it's written in Python/py-appscript. 
> If anyone might know what I'm doing wrong there, I'd greatly appreciate any 
> pointers.
> 
> <http://www.vze26m98.net/skim/skim-hilites.zip>
> 
> This is proving very handy to convert highlights (the only annotation that I 
> use) made with iAnnotate on the iPad so that my results are available in Skim.
> 
> Thanks again for Skim, Christiaan!
> 
> Anyone attempting to use this should keep in mind that it isn't elaborately 
> tested. I'd appreciate hearing if you have either trouble or success.
> 
> Best wishes,
> 
> Charles
> 

I don't know py-appscript, but you can get the text for the selection easily 
using the applescript "get text for" command, I think that becomes get_text_for 
in py_appscript.

Christiaan


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to