Hi listers I wrote a function that sets focus to a button wich doesn't have access key, and wrote script to swich to this focus by hotkey. However, the function always turns my Jaws cursor on, and I don't know the reason. I wonder if any body can give me an explain. Here is my function Void Function ProcessVST (int iControlID) ;Performs some VST plugins' options quickly by hotkeys. The options include: preset, load preset, save preset. Var Handle wnd Let wnd=FindDescendantWindow (GetRealWindow (GetFocus ()), iControlID) SaveCursor () ;I don't know why does this function turn on jawsCursor after processing, so I must save the active cursor before doing anything, and then restore it at the end of this function If DialogActive () then ;make sure user stand at a dialog MoveToWindow (wnd) Pause () If GetWindowClass (wnd)=="button" then SpeechOff () Pause () SetFocus (wnd) EnterKey () ;presses the enter key to activate the button have focus Else SetFocus (wnd) endIf; get window class endIf ;Dialog active Pause () SpeechOn () RestoreCursor () EndFunction Thanks in advance for your help Cuong ________________ 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