[jawsscripts] Seeking help from Mozilla script users who experience a COM error

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: JAWSScripts@xxxxxxxxxxxxx, blind-mozilla@xxxxxxxxxxxxxxx
  • Date: Fri, 29 Jan 2010 10:29:36 -0500 (EST)

This is for any users of my Thunderbird or Firefox scripts who have gotten 
the error about loading the Homer COM object.  First, let me share a 
source of information I used when developing Homer.wsc, a Windows Script 
Component.  The technology is explained in the following article:

Doctor Scripto's Script Shop: Windows Script Components Have a COM-ing 
Effect
http://technet.microsoft.com/en-us/library/ee692823.aspx

The JAWS scripts use the GetObject technique of instantiating the object, 
which does not require registering it first with the Windows registry.  It 
is also possible to register the COM server, however, and I am hoping that 
attempting to do so on a machine where GetObject failed might produce an 
error message that helps me resolve the problem.  Alternatively, if 
registration succeeds, I can modify the scripts to try the GetObject 
technique first and then the CreateObject technique after that.

To register the COM server, you will need full administrative rights on 
the computer.  Go to a command line window and enter a line like the 
following:

RegSvr32.exe file:\\c:\documents and settings\jamal.mazrui\application 
data\freedom scientific\jaws\10.0\settings\enu\Homer.wsc

Obviously, substitute your user name for mine.  If you first change to the 
user script directory, then the full path should not be necessary, e.g.,

RegSvr32.exe file:\\Homer.wsc

If the registration command fails, please give me the whole error message 
(e.g., by virtualizing the window, copying and pasting).  If the command 
succeeds, it should then be possible to instantiate the COM object with 
code like the following:

Let oJax = CreateObject("HomerJax.wsc")

You can get an archive of the Thunderbird scripts at
http://EmpowermentZone.com/tb_scr.zip


and the Firefox scripts at
http://EmpowermentZone.com/FxMax.zip

Both archives contain the Homer.wsc file.

Jamal

__________ 
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:

  • » [jawsscripts] Seeking help from Mozilla script users who experience a COM error - Jamal Mazrui