Win32OLE question

I’ve never used the ruby Win32OLE libraries, but I’m thinking of writing
some scripts that may need them. Basically what I want to do is write
some scripts that search through the current window hierarchy and find
certain windows and then send messages to those windows to imitate
clicks and keystrokes. Does anyone know if this can be done with the
libraries in their current state?

Thanks,
Carl Youngblood