Hi all,

 

I want to speak all clips with a blue background color of 242.  Below is my
code and the error I am getting.  What is wrong with my code?

 

Dim FocusEvent : FocusEvent = ConnectEvent(DesktopWindow,
"OnChildClipRendered", "OnChildClipRendered")

 

Sub OnChildClipRendered(myClip)

Speak "called"

If not myClip is nothing Then

If myClip.BackgroundColor.Blue = 242 Then

Speak "true"

Speak myClip.Text

End If

End If

End Sub

 

Error:  Description: Object required: 'myClip.BackgroundColor'

 

Please help!

 

Vic

 

Reply via email to