I've tried implementing the missing parametrized attributes and also change
the role to AXTextArea, but it still did not work. It may be that the deamon
has NSTextView and WebView hard coded, or perhaps it requires some private
method. Anyway, I'm giving up.
Christiaan
On Fri, May 2, 2008 at 8:28 PM, Christiaan Hofman <[EMAIL PROTECTED]>
wrote:
> I didn't know that goes through accessibility. That's strange, as you can
> turn that off. Anyway, nothing is documented and I have no idea what it
> calls to figure things out. It does not seem to request any attribute. I
> guess parametrized attributes like AXRangeForPosition and
> AXAttributedStringForRange can be relevant, and PDFDisplayView does not
> implement those. But those are quite hard to implement as PDFKit does not
> make it easy to find the text at a point, and moreover as PDFDisplayview is
> private we don't know exactly what's implemented and what will be
> implemented in the future.
>
> Christiaan
>
>
> On 2 May 2008, at 7:46 PM, Maxwell, Adam R wrote:
>
> Can the accessibility implementation be extended so that it returns the
> > current selection string for the dictionary popup? That's an
> > oft-repeated
> > feature request, and I'd like to use it myself. It looks like it calls
> > to
> > SKPDFView when you hit control-cmd-d, but it doesn't end up getting any
> > text
> > back:
> >
> > #0 0x0005aa08 in -[SKPDFView accessibilityChildAtPoint:] at
> > SKPDFView.m:2255
> > #1 0x00160354 in -[PDFDisplayView(SKExtensions)
> > replacementAccessibilityHitTest:] at PDFDisplayView_SKExtensions.m:104
> > #2 0x1e426108 in DSAXGetTextOrigin
> > #3 0x1e425f30 in DSAXGetTextOrigin
> > #4 0x1e4248ec in DSAXGetTextUnderMouse
> > #5 0x1e423b74 in DSGetTextUnderMouse
> > #6 0x1e4242d0 in DSInitializeMessageReceiving
> >
> > I messed with it for a few minutes, but it would take me quite a while
> > to
> > understand the accessibility code.
> >
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users