[jawsscripts] Re: How might I code up a table to appear in virtual viewer?
- From: "Homme, James" <james.homme@xxxxxxxxxxxx>
- To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
- Date: Wed, 18 Feb 2009 14:21:43 -0500
Hi What does the following do:
o.navigate("about:blank")
Thanks.
Jim
Catch the gratitude attitude.
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jim Bauer
Sent: Wednesday, February 18, 2009 11:13 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: How might I code up a table to appear in virtual
viewer?
In cases like these, I've always simply created an HTML document
object, either through FSO or InternetExplorer.application.
For the latter, something like the following:
var object o, object ODoc
let o = createObject("internetExplorer.application")
let oDoc = o.document
o.navigate("about:blank")
ODoc.write("whateverYouWantHere, would be your HTML in this instance")
Whenever you wish to show it to the user:
let o.visible = 1
FSO works, too, but I have seen particularly stringent permissions get
in the way of WScript use.
Original message
from: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
subject: [jawsscripts] How might I code up a table to appear in
virtual viewer?
date: Thu, 19 Feb 2009 02:40:51 +1100
>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
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: