Hi Dan: I see a couple of problems. first, You need to declare a handle for the window being checked in the function. Jaws expects a handle argument for this function. Next, your function should return a value, true if your conditions have been satisfied, and if not, your function should call HandleCustomWindows from the default scripts. This will insure that you gain any benefits from your default functionality as well. Have you checked to see if your function is being run? Try placing a saystring in your function before any if conditions. If you hear the string being spoken, at least you will know that Jaws is calling your function as you expect. David Farough Application Accessibility Coordinator/coordonateur de l'accessibilità Information Technology Services Directorate / Direction des services d'information technologiques Public Service Commission / Commission de la fonction publique Email / Courriel: David.Farough@xxxxxxxxxxxxx Tel. / TÃl: (613) 992-2779 >>> "Dang Manh Cuong" <dangmanhcuong@xxxxxxxxx> 09:03 AM Monday, October 15, 2012 >>> Hi listers I'm try to make Jaws read some control in a dialog in audacity, wich user can read by using jaws or invisible cursor. I modified my existing handleCustomWindow to make it say windowTypeAndText, but it not work. May be I added wrong condition. So please help me. Here is my function Int Function HandleCustomWindows () Var Handle hFocus, Let hFocus = GetFocus () If DialogActive () &&GetWindowName (hFocus)==MsgCopy then ElIf DialogActive ()&& GetWindowName (hFocus)==MSGDirectEdit then ElIf DialogActive () &&GetWindowName (hFocus)==MSGDoNotWarn then SayWindowTypeAndText (hFocus) EndIf EndFunction Thanks in advance ----- Original Message ----- From: "Jitendra" <Jitendrakumar@xxxxxxxxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Friday, October 05, 2012 4:26 PM Subject: [jawsscripts] Re: Need help > Your answer is in your question itself, > the function GetObjectName is responsible to return the name output > value in the utility mode, so does the other functions. like: > if the output mode is value, the function would be: GetObjectValue. > if it is type, it replaces the value. > Hope this helps, > I don't know how shall you use in your scripts, but remember: the active > cursor is responsible for results, more you shall know when call this > function. > Take care, Jitendra. > Dang Manh Cuong wrote: >> Hi listers >> I still writing script for Audacity to improve my ability of scripting. >> Now I want to create a function to varify that current focus track is >> selected or not. >> Normaly, Audacity users can varify that by pressing insert+tab, and I can >> varify it using script Utilities with f10 until i Hear Jaws says: name >> and press f9 to hear the info. However, I don't know what function >> supported to get this info. Please help me. >> Using Jaws 13.0 >> Thanks so much >> ________________ >> Dang Manh Cuong >> HCMC University of Pedagogy: >> The Psychology and education >> Mobile: +84 902-572-300 >> E-mail: dangmanhcuong@xxxxxxxxx >> Yahoo! ID: manhcuong0312 >> Skype name: dangmanhcuong >> facebook: http://facebook.com/dangmanhcuong >> Blog: http://vi.netlog.com/Cuong_littlecat >> Website: http://ngoisaodanduong.com >> http://www.saomaicenter.org >> Projec-Website: http://dangmanhcuong.googlecode.com >> __________à>> >> View the list's information and change your settings at >> http://www.freelists.org/list/jawsscripts >> >> >> > > > __________à> > View the list's information and change your settings at > http://www.freelists.org/list/jawsscripts > ________________ Dang Manh Cuong HCMC University of Pedagogy: The Psychology and education Mobile: +84 902-572-300 E-mail: dangmanhcuong@xxxxxxxxx Yahoo! ID: manhcuong0312 Skype name: dangmanhcuong facebook: __________àView the list's information and change your settings at http://www.freelists.org/list/jawsscripts > This e-mail message is intended for the named recipient(s) and may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. Unauthorized disclosure, copying or re-transmission is prohibited. If you are not a named recipient or not authorized by the named recipient(s), or if you have received this e-mail in error, then please notify the sender immediately and delete the message and any copies. > Ce courriel est destinà exclusivement au destinataire mentionnà en titre et peut contenir de l'information privilÃgiÃe, confidentielle ou soustraite à la communication aux termes des lois applicables. Toute divulgation non autorisÃe, toute reproduction ou rÃacheminement est interdit. Si vous n'Ãtes pas le destinataire de ce courriel, ou n'Ãtes pas autorisà par le destinataire visÃ, ou encore, si vous l'avez reÃu par erreur, veuillez le mentionner immÃdiatement à l'expÃditeur et supprimer le courriel et les copies. __________ï View the list's information and change your settings at http://www.freelists.org/list/jawsscripts