[jawsscripts] Re: IE Dom?

  • From: Artur Räpp <rtr@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 9 Apr 2008 20:29:00 +0300

Hi,

following scripts seems work correctly.
tested on:
http://www.freedomscientific.com/fs_products/Surfs_Up/tables.htm

Script test ()

; g_col and g_row are global variables



if (IsSameScript ()) then

; reset global variables to 0

MoveToTable (S_PRIOR)

MoveToTableCell (g_col, g_row)

SayCell ()

let g_col = 0

let g_row = 0

return

endIf

if (g_col == 0 && g_row == 0) then

GetCellCoordinates (g_col, g_row)

endIf

MoveToTable (S_NEXT)

MoveToTableCell (g_col, g_row)

SayCell ()

EndScript



  Artur----- Original Message ----- 
  From: Don Mauck 
  To: jawsscripts@xxxxxxxxxxxxx 
  Sent: Wednesday, April 09, 2008 6:09 PM
  Subject: [jawsscripts] Re: IE Dom?


  Kiran,
  I'm doing this in a script that uses WindowKey+N to go done and 
Shift+Windows+n to go up.  



  Don Mauck | Accessibility Evangelist 
  Cross Applications Unlimited
  7700 Technology Way
  Denver CO 80237
  Phone (303) 334-4184
  Email don.mauck@xxxxxxxxxx 




------------------------------------------------------------------------------
  From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Kaja, Kiran
  Sent: Wednesday, April 09, 2008 9:06 AM
  To: jawsscripts@xxxxxxxxxxxxx
  Subject: [jawsscripts] Re: IE Dom?


  Don,

  How does the user navigate from table to table?

  Regards,
  Kiran.

  This e-mail may contain trade secrets or privileged, undisclosed, or 
otherwise confidential information. If you have received this e-mail in error, 
you are hereby notified that any review, copying, or distribution of it is 
strictly prohibited. Please inform us immediately and destroy the original 
transmittal. Thank you for your cooperation.




------------------------------------------------------------------------------
  From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Don Mauck
  Sent: Wednesday, 09 April 2008 8:19 PM
  To: jawsscripts@xxxxxxxxxxxxx
  Subject: [jawsscripts] Re: IE Dom?


  James and kiran,
  I'm trying to access the IE dom so that I can keep track on the number of 
tables on a page.  Its more complex then that since I also need to keep the 
cursor in the same column and row as I navigate from table to table.   I have 
that part working the problem is that when I go back to the first table on the 
page the cursor looses its position since the dom takes over the table control 
so I figure that I need to keep a count of tables and when I reach the maximum 
number of tables on the page, I can somehow go back to the top and keep the 
cursor in the same column and row.   



  Don Mauck | Accessibility Evangelist 
  Cross Applications Unlimited
  7700 Technology Way
  Denver CO 80237
  Phone (303) 334-4184
  Email don.mauck@xxxxxxxxxx 




------------------------------------------------------------------------------
  From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Kaja, Kiran
  Sent: Tuesday, April 08, 2008 9:40 PM
  To: jawsscripts@xxxxxxxxxxxxx
  Subject: [jawsscripts] Re: IE Dom?


  The IE4GetCurrentDocument function provided in Jaws scripting creates an 
object which lets you access the IE DOM without having to create the object 
yourself. Try "IE DOM reference" in Google for a link to MSDN containing the IE 
DOM methods, properties and events. There are plenty of them...

  Regards,
  Kiran.

  This e-mail may contain trade secrets or privileged, undisclosed, or 
otherwise confidential information. If you have received this e-mail in error, 
you are hereby notified that any review, copying, or distribution of it is 
strictly prohibited. Please inform us immediately and destroy the original 
transmittal. Thank you for your cooperation.




------------------------------------------------------------------------------
  From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Casey
  Sent: Wednesday, 09 April 2008 6:32 AM
  To: jawsscripts@xxxxxxxxxxxxx
  Subject: [jawsscripts] Re: IE Dom?


  Right, I want to write scripts for jaws, by using the IE dom. Do you have any 
documentation/examples of this?
  thanks


  Casey


  ----- Original Message ----- 
  From: James Dietz 
  To: jawsscripts@xxxxxxxxxxxxx 
  Sent: Tuesday, April 08, 2008 8:58 PM
  Subject: [jawsscripts] Re: IE Dom?


  Do you mean script the Internet Explorer DOM using Jaws Scripting?   I think 
it should still be possible - way back I made a little script which filled in a 
blank IE window with whatever I wanted using the window.document.write() method 
or something.  I don't remember what JAWS calls the main IE "object" (and can't 
look it up as no windows computer near at the moment) but it's self-explanatory 
or at least I remember it being so once you look at soem of the IE scripts.  Of 
course a background in JavaScript wouldn't hurt (maybe that's why I found it 
simple). 


  Please enlighten me as I don't know what you're refering to. If it's based on 
some recent discussion forgive me as I don't keep up with this list regularly.


  James
  On Apr 8, 2008, at 8:34 PM, Casey wrote:

  Hello. How does one learn how to script jaws using the internet explore DOM? 
Is there MSDN docs, or other documentation/tutorials somewhere?
  Thanks.


  Casey


  < br></div 

Other related posts: