[jawsscripts] Re: How might I code up a table to appear in virtual viewer?

Geoff,

As far as I know (and I may well be wrong) JAWS virtual viewer supports no
kind of HTML mark up; at least, nothing we can access from within JAWS
script.

The only slight contradiction to this is the second parameter to the
userBufferAddText function, which can take the name of another function to
call and turn that into a link.
The help from within the buffer says: "Links take you to other messages or
activate commands in the application you are using".  I have no idea how you
might induce some buffer text to call other text without the use of another
function, but that's neither here nor there.

My only possible approach to your problem at this point would be to use an
Internet Explorer Com object - creating a blank document, adding an HTML
table to it, and focusing so that JAWS' virtual cursor can read it. 

This of course necessitates having the web browser on the system.  I don't
think using Com would change the basename of your scripts, but am not
certain.  I've never done it before but am sure I've seen some other JAWS
scripts do it by someone - does anybody know where?  Maybe outputting
keystrokes or something?

I too would be interested in this topic - the virtual viewer seems to only
provide very limited mark up possibilities.  Given the profusion of
terminal-style interfaces in employment, I am surprised that the viewer has
not evolved to allow the formation of more complex documents.  It seems an
ideal way, apart from its obvious lack of structured content, to present
inaccessible onscreen information to a JAWS user.

Sean.

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Geoff Chapman
Sent: Wednesday, February 18, 2009 3:41 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] How might I code up a table to appear in virtual
viewer?

hey mighty scripter Gals/Guys. 
in this pizza hut call center app I'm working on now, I desire to maybe be
able to reformat some horridly difficult to access onscreen tables appearing
in this terminal emulation pcsws 5250 environment, such that they become far
more speed efficient to navigate than they currently are.
I thought I might try doing this in the virtual viewer, as indeed I'm
reformatting a few screens in there upon key request to make user navigation
more quick and eficient, but I just have no idea how to do an html table in
Script land?
Thanks infinitely to Paul Magill,
I do already know about:
UserBufferDeactivate ()

UserBufferClear ()

UserBufferAddText (Strings to add)
UserBufferAddText (Next String to add)
; when complete,

UserBufferActivate ()

And, although I know the absolute rudimentaries of creating an html table in
notepad, i.e.

<table>
<tr>
<td><b>FirstColumnHeader</b></td>
<td><b>SecondColumnHeader</b></td>
<td><b>ThirdColumnHeader</b></td></tr>

<tr>
<td>FirstColumnData</td>
<td>SecondColumnData</td>
<td>ThirdColumnData</td></tr>
etc
</table>



I've got absolutely no clue what the syntax is in ScriptLand, to be able to
make all this work inside a jawsFunction, such that I can doublePress my
hotkey, and have this whole screen just appear in a normatively navigable
html table like one might normally do on the web?

Can anyone assist me at all with maybe some code examples for how I might do
this?

I haven't really  thought yet either, exactly how I'll grab the OnScreen
Data for pumping them into the data cells, but I presume I'll just use
GetTextInRect string type function to do that, though if some kind soul
might demonstrate for me how exactly this might be coded, It'd be a huuuge
help for me?

thanks heaps if anyone can help.
Geoff c.



__________
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: