[jawsscripts] swiching focus

  • From: "Dang Manh Cuong" <dangmanhcuong@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 17 Nov 2012 10:44:29 +0700

Hi listers
Today I added a functionality to my audacity script, and got a problem. let's 
me have a description of this
In the edit change dialog, there are two panes, 1 left and 1 right. I want to 
write a script that toggle swiching to these panes, but it didn't work. Could 
you please review the code, and tell me what was I wrong.
Script SwichPane ()
Var
Handle wnd
Let wnd=FindDescendantWindow (GetRealWindow (GetFocus ()), wnd)
If GetControlID (wnd)== ID_Change_List then ;focus at the left pane
Let wnd=FindDescendantWindow (GetRealWindow (GetFocus ()), ID_Change_Parameters)
Else
Let wnd=FindDescendantWindow (GetRealWindow (GetFocus ()), ID_Change_List)
EndIf
SetFocus (wnd)
EndScript
Thanks in advance.
________________
Dang Manh Cuong
HCMC University of Pedagogy:
The Educational Psychology 
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

Other related posts:

  • » [jawsscripts] swiching focus - Dang Manh Cuong