Re: AXPosition and AXSize during window drags
Re: AXPosition and AXSize during window drags
- Subject: Re: AXPosition and AXSize during window drags
- From: Bill Cheeseman <email@hidden>
- Date: Sun, 25 Nov 2007 12:06:17 -0500
- Thread-topic: AXPosition and AXSize during window drags
on 2007-11-25 11:23 AM, John Louch at email@hidden wrote:
>> ... Is there any other way I can get continuous position
>> and size information regarding UI elements in another application?
>
> You can poll in between mouse down and mouse ups.
Forgive my ignorance, but poll what?
Perhaps I wasn't clear. The 'left mouse dragged' event tap is firing very
rapidly, repeatedly during a single drag session. I read AXPosition every
time another 'left mouse dragged' event arrives during the drag session. But
the position remains unchanged in Cocoa applications, on each successive
'left mouse dragged' event, until the 'left mouse up' event at the end of
the drag session. When I target the Finder with my same code, however, the
AXPosition value is different every time a new 'left mouse dragged' event
arrives.
If you're saying there is some other system or Carbon API that I can poll to
get the actual AXPosition of another Cocoa application's window, can you
point me to it?
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com
PreFab Software - www.prefabsoftware.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden