Re: Auto-read of Editboxes

2016-02-19 Thread Jonathan C. Cohn via Scripting
Doesn't WindowEyes by default read twelve lines? Jonathan Cohn > On Feb 19, 2016, at 2:02 PM, Tom Kingston via Scripting > wrote: > > David, > > ExecuteHotkey hkReadToEnd > executes the read to end hot key regardless of what its key combination is. > > Assuming this is the only edit box in

Re: Auto-read of Editboxes

2016-02-19 Thread LB via Scripting
Hi David, Since you are using a tree view and an editbox, below are many things you can do using the event triggered by the tab into the editbox. I kept some of it there for the editbox if disabled you enable it. Inside your treeview procedure: If dEvent = editboxFocus Then If Not myA

Re: Auto-read of Editboxes

2016-02-19 Thread Tom Kingston via Scripting
David, ExecuteHotkey hkReadToEnd executes the read to end hot key regardless of what its key combination is. Assuming this is the only edit box in your app I would connect to OnChildFocus and do the following. Sub OnChildfocus(oFocused) If oFocused.Type = wtEdit Then ' You may want to u

Re: Auto-read of Editboxes

2016-02-19 Thread LB via Scripting
Hi Again David, I think you have to decide on how much of the editbox you want to speak. In my Breaking News app I have it read the number of lines, or the selected section. All this is done by functions I have for cursor position inside an edit box or you select it all and read it all.

Re: Auto-read of Editboxes

2016-02-19 Thread Jeff Weiss via Scripting
In some of my apps, I have inserted the line below to read the active window: Keyboard.InsertKey vk_W, kmControl + kmShift Hope this helps, Jeff Weiss -Original Message- From: David via Scripting Sent: Friday, February 19, 2016 12:54 AM To: GWScripting Subject: Auto-read of Editbox

Re: Auto-read of Editboxes

2016-02-19 Thread LB via Scripting
Hi David, I think if you do a select all you might get that happening. So when it gets focus have it select all the text and see what happens. Bruce Sent: Friday, February 19, 2016 1:54 AM Subject: Auto-read of Editboxes Hey listers, Got a tiny issue here, hoping someone would happ