[jawsscripts] Re: Need help on AutoFinishEvent function

  • From: "Mike O'Brien" <mike23432@xxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 25 Jan 2011 12:13:06 -0500

Hi

When you press alt-F4 and a save dialog box pops up, the application is
still running and won't end until after you answer yes or no.  Therefore the
scripts for that application are still active and AutoFinishEvent hasn't
been called yet.   For me using JAWS 12 and Windows XP, the save dialog box
in Notepad and Word 2000 is automatically spoken when it pops up.

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx]On Behalf Of Dang Manh Cuong
Sent: Tuesday, January 25, 2011 5:25 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Need help on AutoFinishEvent function


Thanks for your suggestion. But when you exit some application like notepad,
MS word, it will ask you to save current file or not, and I'd like the
script speaks that message after programme quit. I think we can check if the
programme is not running, script will speaks that message. However, I don't
know the function for doing it.
Signature________________ Dang Manh Cuong Course: Psychology of education
Department: HCMC University of Pedagogy 280 An Duong vuong, ward 4, district
5, HCMC Vietnam Home: 555/2B Tan Dong Hiep, Di An, Binh Duong Home - phone:
+84 650-3742-067
----- Original Message -----
From: "Don Marang" <donald.marang@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, January 25, 2011 3:47 PM
Subject: [jawsscripts] Re: Need help on AutoFinishEvent function


> The most straight forward way to handle this would be to create a new
> script
> attached to the Alt + F4 key combination.  This script only needs to say
> what you want to say and then pass the keys on to the application.  This
> will not get called, however, if the application is closed  some other
> way,
> such as a File > Exit menu or the System > Close menu methods.
>
> Script ExitApp ()
> SayMessage (OT_MESSAGE, "Exiting Application", "Exiting...")
> TypeKey ("Alt+F4", )
> EndScript
>
> Don Marang
>
> There is just so much stuff in the world that, to me, is devoid of any
> real
> substance, value, and content that I just try to make sure that I am
> working
> on things that matter.
> Dean Kamen
>
>
> --------------------------------------------------
> From: "Dang Manh Cuong" <dangmanhcuong@xxxxxxxxx>
> Sent: Monday, January 24, 2011 3:16 AM
> To: <jawsscripts@xxxxxxxxxxxxx>
> Subject: [jawsscripts] Need help on AutoFinishEvent function
>
>> Hi listers
>> I'd like to create an auto finish event with the folowing features
>>
>> ·        If press alt+f4, says something like quit application
>>
>> ·        If press alt+tab to swich to other window, does not say
>> anything
>>
>> So how to do it. Please show me
>>
>> Thank so much
>>
>>
>>
>>
>> ________________
>> Dang Manh Cuong
>> Course: Psychology of education
>> Department: HCMC University of Pedagogy
>> 280 An Duong vuong, ward 4, district 5, HCMC Vietnam
>> Home: 555/2B Tan Dong Hiep, Di An, Binh Duong
>> Home - phone: +84 650-3742-067
>> Mobile: +84 902-572-300
>> E-mail: dangmanhcuong@xxxxxxxxx
>> Yahoo ID: manhcuong0312
>> Skype name: dangmanhcuong
>> Blog: http://vn.myblog.yahoo.com/manhcuong0312
>> Website: http://ngoisaodanduong.com
>> http://www.saomaicenter.org
>>
>>
>>
>> __________�
>>
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>>
>>
> __________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>

__________�

View the list's information and change your settings at
//www.freelists.org/list/jawsscripts

__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: