The diagram shows you that only three images and three lines of macro code are required to automate input into a flash (or Java) based chat applet. The picture below indicates that the procedure to create images for IMAGESEARCH has been done for the three elements.
This example includes a verification that the input is received.
The macro for this application is:
'Fill text into input box
IMAGECLICK IMAGE=inputbox.bmp CONFIDENCE=95 CONTENT=Hello<SP>Heidelberg
'Click "send" button
IMAGECLICK IMAGE=sendbutton.bmp CONFIDENCE=95
'Now test if the applet works => look for text "Heidelberg" in applet window
IMAGESEARCH IMAGE=text.bmp CONFIDENCE=95