On Nov 18, 2008, at 7:44 AM, Christiaan Hofman wrote:

This is possible with PDFKit, but IMHO this would amount to feature bloat, so it isn't and won't be possible in Skim. However you can write an AppleScript that does this. It's a bit complicated due to a longstanding bug AppleScript though.

tell document 1 of application "Skim"
        set theSel to get selection
        if theSel is not {} then
                set thePage to (get item 1 of (get pages for theSel))
                set theIndex to (get index for theSel)
                set theFont to font of character theIndex of thePage
                set theSize to size of character theIndex of thePage
display dialog "Font for selection: " & theFont & space & theSize & "pt"
        end if
end tell

...which raises the question of whether a script menu similar to BibDesk's might be useful in Skim.

Jim Harrison
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to