Loading ...
Sorry, an error occurred while loading the content.

1037Errors when trying to load function.

Expand Messages
  • ben_cuthbert
    Sep 7, 2005
      All

      The code is great, and works like a charm, but i have an issue when i try
      and use a function called SelTabItemText i get the following error

      C:\BensHome\BensPerl>perl test.pl
      Starting to get window info
      66562> ' Guardian - Production'
      Undefined subroutine &main::SelTabItemText called at test.pl line 35.

      So i add it into
      use Win32::GuiTest qw/FindWindowLike
      GetWindowText
      GetClassName
      GetChildDepth
      GetDesktopWindow
      SetForegroundWindow
      SendKeys
      PushButton
      SelTabItemText
      /;
      and then i get.

      C:\BensHome\BensPerl>perl test.pl
      "SelTabItemText" is not exported by the Win32::GuiTest module
      Can't continue after import errors at test.pl line 7
      BEGIN failed--compilation aborted at test.pl line 16.

      C:\BensHome\BensPerl>

      Could you help
    • Show all 4 messages in this topic