[jawsscripts] Possible breakthrough with dynamic execution of VBScript code

HomerKit now includes a technique whereby a JAWS script can execute code
in the VBScript language (Visual Basic Scripting Edition).  I have
developed similar techniques before that involve installation of a COM
server (e.g., for executing Perl, Python, or Boo code).  A key difference
here is that no COM server is needed!  The file Homer.wsc is a Windows
Script Component that may be used either as a COM server with CreateObject
or as  a simple file reference with GetObject.

The function VBSEval in Homer.jss takes five parameters:  the VBScript
code to execute  and four variant parameters that can be referenced within
the code, which may be multiple lines.  The function VBSEvalFile is
similar except that it takes a .vbs file name as the first parameter.
I've also added convenience functions for dealing with variants (with
credit to Doug Lee).

VBScript has a number of built-in functions that do not have an equivalent
in the JAWS scripting language.  Since it supports all variant subtypes,
it may also be used with object models that a JAWS script cannot use
fully, e.g., WMI related information.  I have prepared a collection of
text tutorials on VBScript and the Windows Script Host at
http://EmpowermentZone.com/vbs56doc.zip

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: