;JAWS 13 Scripts for Debut Video Capture Software
;by mohammad mirqasemi

VOID Function FocusChangedEvent(handle focusWindow, handle prevWindow)
;This function reads the names of elements when they get focused 
var
int iControlID,
string sControlName

sControlName = GetControlName ()
if sControlName=="" Then
iControlID = getcontrolid(focuswindow)


if iControlID==102 Then
SayString ("Start Record")
ElIf iControlID==105 Then
saystring ("take photo")
ElIf iControlID==104 Then
saystring ("stop record")
ElIf IControlID==125 then
SayString ("filter")
ElIf iControlID==126 then
saystring ("font setting")
ElIf iControlID==103 then
saystring ("pause")
elif icontrolid==129 then
saystring ("")
elif icontrolid==134 then
saystring ("")
elif icontrolid==133 then
saystring ("")
Else
SayInteger(iControlID)
EndIf
else
saystring (sControlName)

EndIf

EndFunction 