Vic,
You need to make sure the clip you got is a text clip, and not a bitmap.
Aaron
On 11/22/2009 9:46 PM, Vic Beckley wrote:
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
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4628 (20091122) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
--
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.
Aaron Smith
GW Micro
Phone: 260/489-3671
Fax: 260/489-2608
WWW: http://www.gwmicro.com
FTP: ftp://ftp.gwmicro.com
Technical Support& Web Development