A few notes:

- You should not need to use Win32::OLE if you're using ActiveState PerlScript. When your script runs, it should already have three objects defined in $Application, $Speech, and $Script. $Application is the one you want to use wherever you're currently using $we. - If you do create a new WindowEyes.Application object rather than using the predefined $Application, you will indeed find that ClientInformation is undefined. Use the Application object that's provided, and it'll be hunky-dory. - The second parameter to RegisterHotkey is the name - and only the name - of the function or subroutine to be called; in this case that should be "hello" rather than "hello()".


Reply via email to