[jawsscripts] Re: Program end notice.

  • From: "Huskins, Wayne" <Wayne.Huskins@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 10 Apr 2008 09:45:00 -0300

Mike, you may be able to do something with the newTextEvent  In the
default script set.

You could try adding code to newTextEvent   to watch for the window
handle for the taskbar  

If getWindowClass(hwnd) == "ToolbarWindow32" then 
If ;code to query the buffer for text to identify the  shell32.dll
application then
Saystring() or playsound()
;;Code to notify the user that the task starts
ScheduleFunction("myfunction",50) 
;Myfunction() checks the contents of the taskbar to see if shell32 is
still running  in 5 seconds
endif
Endif

The code in myfunction() would  
Use scheduleFunction()  to run myfunction in x seconds  if the shell32
is still running.
Or 
If shell32 is not  found the user would be notified  that the task has
ended.



Clear as mud???

Hope this helps

W
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Mike
Sent: April 9, 2008 08:47
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Program end notice.

Hi all,
 
I would like to make a script for someone who uses jaws.
There is a program on there workstation that runs a batch file everyday
and while this is running the computes slows down. It can run anywhere
between a few seconds and 1 minute and while it is running it is
minimized to the taskbar. When it closes itself JAWS doesn't notify the
user so i would like to make a script that checks if the program is
running and informs the user that it has closed. What would be the best
way to achieve this? The program is shell32.dll.
 
Many thanks
 
Mike
__________ 
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts

Other related posts: