in reply to Win32 control

I don't know of any Perl facilities to actually do "user simulation" type of remote control, but many applications have OLE interfaces that allow other applications to take advantage of its services. Most Office applications, for example, have extensive OLE interfaces that you can use for automation. See Win32::OLE (and the same from CPAN).