[jawsscripts] Re: Opening the FSDN with ShowHelpByID or ShowHelpByName?

Thank you Martin,

The script works wonderfully well.

I needed to increase the delay a little for my system, but it works like a 
charm, and the key codes are the same on my system.

It will take me a while to get my head around the more direct methods at 
that site, but now I have the script going well, I may leave that to another 
day...

Thanks again.
Regards,
Paul

----- Original Message ----- 
From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>


Hi Paul,

  I spent some time looking here:

http://www.help-info.de/en/Help_Info_HTMLHelp/hh_command.htm

to see if there was a command line switch to do what you want.  It turns out
that you can open a chm file at a desired topic, (they all have a sort of
internal address in the chm file), but not at a book.  The books seem to be
generated on the fly when the contents tree view is drawn.

  However there is a way to do what you outlined from a JAWS script:

script openFSDN ()
  Run ("C:\\FreedomScientificDocs\\FSDN\\fsdn.chm")
  Delay (10, true) ; give the window time to open
  TypeKey ("77", 0) ; right arrow opens Scripting book
  TypeKey ("80", 0) ; down arrow highlights General Concepts book
  TypeKey ("80", 0) ; down arrow highlights Reference Guide book
  TypeKey ("77", 0) ; right arrow opens Reference Guide book
  TypeKey ("80", 0) ; down arrow highlights JAWS book
  TypeKey ("77", 0) ; right arrow opens JAWS book
EndScript

  I should check that the antipodean scan codes are the same as for a u k
keyboard, and also that your FSDN file is at the same address as mine.

  hth

Martin



__________�

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

Other related posts: