in reply to Re: How to close an application window in Background? (GuiTest PostMessage)
in thread How to close an application window in Background?

Hi Anonymous Monk...

I tried it.., but i am getting the error saying

Undefined subroutine &main::WM_KEYDOWN called at login.pl line 33.
Undefined subroutine &main::WM_KEYUP called at login.pl line 34.

  • Comment on Re^2: How to close an application window in Background? (GuiTest PostMessage)

Replies are listed 'Best First'.
Re^3: How to close an application window in Background? (GuiTest PostMessage)
by Anonymous Monk on Mar 21, 2014 at 11:09 UTC

    I tried it.., but i am getting the error saying

    Why don't you define the constants?

      hi Anonymous Monk

      I am new to perl. Can tel me how to define the constants?

        I am new to perl. Can tel me how to define the constants?

        Ok  sub CONSTANT_NAME { 42 }