VICUG-L Archives

Visually Impaired Computer Users' Group List

VICUG-L@LISTSERV.ICORS.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Content-Transfer-Encoding:
7bit
Sender:
Visually Impaired Computer Users' Group List <[log in to unmask]>
Subject:
From:
Peter Altschul <[log in to unmask]>
Date:
Fri, 6 Jun 2008 23:23:01 -0500
Content-Type:
text/plain; charset="windows-1250"
MIME-Version:
1.0
Reply-To:
Peter Altschul <[log in to unmask]>
Parts/Attachments:
text/plain (70 lines)
-----Original Message-----
From: Jamal Mazrui [mailto:[log in to unmask]] 
Sent: Friday, June 06, 2008 8:46 PM
To: [log in to unmask]; [log in to unmask];
[log in to unmask]; [log in to unmask];
[log in to unmask]; [log in to unmask]; [log in to unmask];
[log in to unmask]; [log in to unmask]; [log in to unmask];
[log in to unmask]; [log in to unmask]; [log in to unmask];
[log in to unmask]; [log in to unmask]; [log in to unmask];
[log in to unmask]; [log in to unmask]; [log in to unmask];
[log in to unmask]; [log in to unmask]; [log in to unmask];
[log in to unmask]; [log in to unmask]; [log in to unmask];
[log in to unmask]; [log in to unmask]; [log in to unmask]
Subject: SayTools 1.1 released

http://EmpowermentZone.com/saysetup.exe

SayTools is a COM server and set of command-line utilities that enable
applications developed in various languages to incorporate speech messages
that increase nonvisual usability.  The JAWS, System Access, or
Window-Eyes screen reader is used for speech if found, and SAPI speech is
also supported.

This version adds two methods called exec and Eval, which provide access
to the Python interpreter at runtime.  Each method takes five parameters:
a string containing the code to be run and four variant data items that it
can use, these being referenced as v1, v2, v3, and v4 within the code.
Generally, the variants are either numbers or Unicode strings.  The return
value is also a variant.

The Exec method runs one or more Python statements seperated by a line
feed character.  The Eval method works similarly except that the last line
of code is evaluated as an expression (not statement) and the result is
returned.  Besides builtin Python functions, SayTools imports the
following Python modules for possible work in such code:  ctypes, os, sys,
win32api, win32com.client, and win32gui.

The Exec and Eval methods can significantly extend the abilities of a
screen reader to interrogate the computer system and perform useful tasks,
including ones enabled via dynamic API calls to Windows or third party
DLLs.  Like any capability, however, this can also be misused, and so
should be treated as a security risk with untrusted client programs.
Check the SayTools Samples for demonstrations of Exec and Eval, as well as
the Python documentation for the many functions available in the imported
modules.  Although the SayTools COM server loads relatively quickly given
its functionality, best performance in a client program is gained by
instantiating it once at startup, and then using a reference to the same
object over the life of the program.

Jamal

No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.24.6/1487 - Release Date: 6/6/2008
8:01 AM
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.24.6/1487 - Release Date: 6/6/2008
8:01 AM
 


    VICUG-L is the Visually Impaired Computer User Group List.
Archived on the World Wide Web at
    http://listserv.icors.org/archives/vicug-l.html
    Signoff: [log in to unmask]
    Subscribe: [log in to unmask]

ATOM RSS1 RSS2