Re: How to get the focused control by VoiceOver in OSX ?
Re: How to get the focused control by VoiceOver in OSX ?
- Subject: Re: How to get the focused control by VoiceOver in OSX ?
- From: Jonathan Chacón Barbero <email@hidden>
- Date: Fri, 19 Feb 2016 10:34:47 +0100
Ok, Thanks James.
I suppose if I need the image I can use the bounds property and a screenshot of the screen.
thanks!
> El 19 feb 2016, a las 10:07, James Craig <email@hidden> escribió:
>
> Not sure about role, but you can use AppleScript to get the text label of the element in the VO cursor.
>
> vo cursor object n, pl vo cursor object : The VoiceOver cursor
> - bounds (rectangle, r/o) : The bounds of the VoiceOver cursor
> - text under cursor (text, r/o) : The text of the item in the VoiceOver cursor
> - magnification (real) : The magnification factor of the VoiceOver cursor
>
> responds to:
> grab screenshot, move, perform action, select.
>
>
>
>> On Feb 18, 2016, at 9:46 PM, Jonathan Chacón Barbero <email@hidden> wrote:
>>
>> Hello,
>>
>> I am developing a little service for OSX and I need to get the control which is focused by VoiceOver. I need to know if the focused control is a label, an image, a button, etc and I need to get more information from the focused control: title label, the image or the background imgae, the status, etc
>>
>>
>> Is there any way to do this?
>>
>> Thanks
>>
>> Regards
>> Jonathan Chacón
>> _______________________________________________
>> 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
>
_______________________________________________
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