Results 1 to 6 of 6

Thread: PostMessage from LUA? or with variables?

  1. #1
    Join Date
    Sep 2001
    Location
    London
    Posts
    312

    Default PostMessage from LUA? or with variables?

    I'd like to use Girder to send a 'variable' message (via PostMessage) to a designated window handle

    My problem is the window name and the parameters of the message vary. The script only gets all the 'Postmessage' parameters (hWnd, Msg, wParam and Lparam) just before the having to post a message.

    I'm wondering if there is a simple solution to this, such as a lua function or if I can use variables within the PostMessage plugin (in which case I need to find a way to identify the destination window name, class, etc., so that the plugin can re-discover the handle value)

    Thanks in advance for your suggestions

    Eiffel

  2. #2
    Join Date
    Oct 2002
    Location
    Russia, Kaliningrad
    Posts
    41

    Default

    Hi.
    You can make changes in sources of PostMessage plugin for add LUA script support. It can be done by use BigNumber plugin for example.
    Or I've do this later.

  3. #3
    Join Date
    Oct 2002
    Location
    Russia, Kaliningrad
    Posts
    41

    Default PostMessage

    Hi.
    I can make it to undestand variable.

  4. #4
    Join Date
    Sep 2001
    Location
    London
    Posts
    312

    Default

    Thanks for offering to make changes to the plugin. This would be very useful to my project.

    If you could offer a way to send messages to a designated window handle, like the Windows API PostMessage function that would be perfect.

    Thanks

    Eiffel

  5. #5
    Join Date
    Oct 2002
    Location
    Russia, Kaliningrad
    Posts
    41

    Default New Version

    Hi. Post me in PM your privat e-mail and I've send you new version for test.

  6. #6
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    Please see the LWinFunc plugin for doing post/send message from lua.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •