Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by Anonymous Monk
on Mar 21, 2014 at 11:17 UTC ( [id://1079237]=note: print w/replies, xml ) Need Help??


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

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

Ok  sub CONSTANT_NAME { 42 }

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

Replies are listed 'Best First'.
Re^6: How to close an application window in Background? (GuiTest PostMessage)
by pradeep,krishna (Scribe) on Mar 21, 2014 at 11:50 UTC

    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?

        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 }


        And I did this also insted of above one.
        use constant WM_KEYDOWN => 0x0100; use constant WM_KEYUP => 0x0101;


        Both did not work.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1079237]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-18 11:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found