Have you looked at the Win32::GuiTest module? It supports sending of keys, mouse movement and clicks and lots of other helpful things. It may be able to help you drive the apps you need to.
Hope this helps.
Martin
Comment on Re: perl library for controlling Windows GUI (like AutoIt)