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

Hi Geoff,
I've never done this, but I have two small points. First, the top row and 
possibly the left column needs to be <th> rather then <td> for proper table 
headers, and you can leave out the <b> tag. Second, why not simply make the 
HTML plus the text part of what you put in the virtual buffer and see what 
happens when you code it? You can't hurt anything if you try.

Thanks.

Jim


Catch the gratitude attitude.


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Geoff Chapman
Sent: Wednesday, February 18, 2009 10:41 AM
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


This e-mail and any attachments to it are confidential and are intended solely 
for use of the individual or entity to whom they are addressed.  If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it.  If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this e-mail without the author's prior permission. 
 The views expressed in this e-mail message do not necessarily represent the 
views of Highmark Inc., its subsidiaries, or affiliates.
__________ 
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: