Le 02/04/2012 12:40, Serge Stinckwich a écrit :
On Mon, Apr 2, 2012 at 2:43 PM, Goubier Thierry<thierry.goubier@cea.fr> wrote:
Thanks for the examples, it shows really well how to interact with any existing voice synthesis system on the platform.
Now I need to retrofit something to the Morph system; what is needed there is the ability to do a complete navigation among all morphs via the keyboard (Crtl-Tab in a morph window works) and, for each morph which has the focus, emit it's name on a braille keyboard (and a voice synthesis tool).
Yes, i think this is the difficult part of what you want to do. How to modify Morph in order to. You want to do that for every Morph or just the tools needed to develop Smalltalk code ?
Every morph. So far I got the navigation to work, but I removed the theme tasklist call in PasteUpMorph>>navigationKey:. The tasklist is nice, but the fact that you need to press a return to go on selecting the window isn't. PasteUpMorph>>navigateWindowForward and navigateWindowBackward have the right behaviour. Now, if I find how to send text messages to brltty and connect that to the title (or name) of the Morph that has the focus, then the work is done.
Maybe you can build a specific code browser with OmniBrower or Glamour that could do that. Another solution is use Coral, that integrate Pharo with a shell: https://www.youtube.com/watch?v=HLb_rMcNN6k
I had a look and will keep it in mind when looking at scripting uses for Pharo, but my blind colleague is perfectly fine with multiple windows, as long as keyboard navigation and braille display works. Thierry
Regards,
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95