Hi Christiaan,

thanks for the reply

I’m still struggling with the concept of a selection but the main problem is 
that the page number and the position the Kindle delivers are inaccurate. So I 
would have to search through the complete document. If a search term appears 
more then once it is impossible to determine the correct one for the highlight.

Detlef

> As for the location Kindle reports, I have no idea as I don’t know what 
> Kindle does.
> 
> As for your last question, what do you mean with the find result? Are you 
> trying to use the find command from the selection of the whole page? That 
> would search starting *after* that page (after the selection), the way it 
> works when you choose Find Next from the UI when you have selected text. It 
> would be better to start from a selection of just the first character on the 
> page, something like
> 
> tell document 1
> set aSelection to find theText from {character 1 of page kindlePage}
> end tell
> 
> It won’t find it when it happens to start at the first character. You could 
> then also start from the last character of the previous page.
> 
> Christiaan
> 
> _______________________________________________
> Skim-app-users mailing list
> Skim-app-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/skim-app-users

--
Detlef Beyer
Alte Neusser Landstr. 240
50769 Köln
Tel: +49 221 513168
d.be...@crash.de

_______________________________________________
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to