The GW-Apps is geared toward discussions of Window-Eyes and GW Micro apps. Any subscriber of the GW-Apps list has the ability to post on-topic messages.

From:

 "Downie, Andrew" <andrew.downie@det.nsw.edu.au>

Subject:

 RE: kill wineyes script issue

Date:

 Mon, Feb 6, 2012 6:42:59 pm
Marten, thanks very much for your code. I was not previously aware of
pskill and have been using taskkill. I have "stolen" some of your code
and am experimenting with taskkill and pskill to see what, if any,
different results occur.

I will contact you off list to discuss some of my more esoteric coding
questions. One thing that is worth mentioning, though, is potential
issues raised by Windows7 security. If, as is the case on this machine,
one does not have full admin rights, this sort of script will not run.
To be more precise, it runs, but processes are not killed. I have
resolved that by compiling the script and running as administrator.
Windows then asks if I want the program to run.



Andrew


Andrew Downie
Project Officer Adaptive Technologies
TAFE eLearning Hub
TAFE Training and Education Support
NSW Department of Education and Communities

.........................................................................
.........................................................
51 Wentworth Road, Strathfield NSW 2135 AUSTRALIA | Tel: +61 2 9715 8347
| Fax: +61 2 9715 8279
Email: andrew.downie@det.nsw.edu.au | www.tafensw.edu.au
.........................................................................
.........................................................
The contents of this e-mail and its attachments are confidential and
intended solely for the use of the individual or entity to whom they are
addressed.
Please consider the environment before printing this e-mail


-----Original Message-----
From: Marten Post Uiterweer [mailto:marten@p-u.demon.nl]
Sent: Saturday, 4 February 2012 4:19 AM
To: gw-apps@gwmicro.com
Subject: Re: kill wineyes script issue

Andrew,

I am also using a autohotkey script to kill all processes of Window-Eyes
and restart it after a few seconds.
I am using also the Pskill.exe program to kill a process tree. It is
probably killing processes twice, but it works.
It will also kill the windows explorer, because this can also cause
problems if this hangs. Explorer is also restarted.

Below the code.

Regards, Marten

---autohotkey killwe script
run %a_programfiles%GW MicroWindow-Eyeswineyes.exe /k sleep 5 run,
pskill -t wineyes.exe,, hide run, pskill gwm32.exe,, hide run, pskill
bdisplay.exe,, hide run, pskill speech32.exe,, hide run, pskill
weserv.exe,, hide run, pskill weproxea.exe,, hide run, pskill weli.exe,,
hide run, pskill wecom.exe,, hide

runwait, pskill explorer
soundbeep 480, 130
soundbeep 650, 150
sleep 5
run, EXPLORER
; restart window eyes after a few seconds by sending the keystroke
ctrl-alt-w sleep 4000 send ^!w

--- end code


On Fri, 3 Feb 2012 09:55:55 +1100 "Downie, Andrew"
<andrew.downie@det.nsw.edu.au> wrote:

> There's a technically effective way of killing Window-Eyes, but can
> take some work to make it user-friendly. Just two lines in a batch
> file (remember them) will do it (see below). Wanting to be more
> elegant, I have used an AutoHotKey script. On the press of a hotkey,
> my droning voice asks if I'm sure I want to restart Window-Eyes.
> That's useful if hitting the command by mistake. If I give the
> go-ahead, it kills Window-Eyes, waits a few seconds for things to
> settle down and restarts it. Because this process is entirely
> separate from Window-Eyes, it works even if it has ceased to do its
thing.
>
> The lines for the batch file or script are:
> Run, taskkill /im wineyes.exe /f
> run, taskkill /im BDISPLAY.EXE /f
>
> I can't claim credit for this knowledge, as it was discussed several
> years ago on the GWInfo list.
>
> There are some fiddly issues with restarting Window-Eyes
> automatically, at least on this somewhat locked down machine, but it
> can be achieved relatively easily.
>
>
> Andrew
>
> Andrew Downie
> Project Officer Adaptive Technologies
> TAFE eLearning Hub
> TAFE Training and Education Support
> NSW Department of Education and Communities
>
>
.........................................................................
> ........................................................
> 51 Wentworth Road, Strathfield NSW 2135 AUSTRALIA | Tel: +61 2 9715
> 8347
> | Fax: +61 2 9715 8279
> Email: andrew.downie@det.nsw.edu.au | www.tafensw.edu.au
>
.........................................................................
> ........................................................
> The contents of this e-mail and its attachments are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed.
> Please consider the environment before printing this e-mail
>
>
> -----Original Message-----
> From: Dennis Long [mailto:dennisl1982@gmail.com]
> Sent: Thursday, 2 February 2012 9:50 PM
> To: gw-apps@gwmicro.com
> Subject: kill wineyes script issue
>
> the kill wineyes script doesn't work. When wineyes quits speaking I
> do alt control f4 and then wait a few seconds and alt control w to
> restart wineyes and nothing happens am I doing something wrong?
Thanks.
>
> **********************************************************************
> This message is intended for the addressee named and may contain
> privileged information or confidential information or both. If you are

> not the intended recipient please delete it and notify the sender.
> **********************************************************************

**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************