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

hi Anonymous Monk

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

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

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

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

    Ok  sub CONSTANT_NAME { 42 }

      Yep. I did it. Error gone, but the functionality is not working.

      I have added the following code.

      sub WM_KEYDOWN{ 30 } sub WM_KEYUP{ 31 }

        Yep. I did it. Error gone, but the functionality is not working. I have added the following code.

        Why did you add that code?