While that's possible using applescript I'd recommend a much simpler solution. 
Just send the "X is typing" as a system notification. You could target it just 
to voiceover users but as a notification it may be more universally useful. 
Here's a link on how to do that with applescript: 
http://macosxautomation.com/mavericks/notifications/01.html 
> On Jul 13, 2014, at 9:32 AM, KJSC radio <kjsc.ra...@gmail.com> wrote:
> 
> Hello all. so I do have a question. I'm thinking about writing an apple 
> script on mac to notify a voiceover user when an I message user is typing and 
> to have it play a sound when it is not focused in the I message app. my 
> question to you all is, is there a way that this can be done using like an 
> object handle or something, and if so, how can I properly script this. I 
> would probably have to make an if statement if I don't want that script to be 
> active when voiceover is off. Remember, I only want this to happen for 
> voiceover users. Is this possible to do?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to macvisionaries+unsubscr...@googlegroups.com.
> To post to this group, send email to macvisionaries@googlegroups.com.
> Visit this group at http://groups.google.com/group/macvisionaries.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

Reply via email to